mirror of
https://github.com/cert-manager/webhook-example.git
synced 2026-01-11 09:42:50 +01:00
A cert-manager sample repository for creating an ACME DNS01 solver webhook
| .circleci | ||
| .github | ||
| deploy/pdns-webhook | ||
| testdata/my-custom-solver | ||
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| main_test.go | ||
| Makefile | ||
| OWNERS | ||
| README.md | ||
| rendered-manifest.yaml | ||
| starttest.sh | ||
Deployment
Deploy the custom pdns apiextenion using the helm chart in depploy.
This is how i deployed it.
oc project cert-manager
oc apply -f rendered-manifest.yaml
Example Issuer using the staging letsencypt api.
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: dns-acme-issuer
spec:
acme:
email: user@example.com
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: acme-account-secret
solvers:
- dns01:
webhook:
groupName: acme.powerdns.com
solverName: powerdns
config:
server: "http://powerdnsserverurl:80"
apikey: supersecret