A cert-manager sample repository for creating an ACME DNS01 solver webhook
Find a file
2021-08-02 14:41:42 +12:00
.circleci Added workflow 2021-07-20 01:42:00 +12:00
.github Create dependabot.yml 2021-07-20 02:01:24 +12:00
deploy/pdns-webhook Added Better Docs and renamed helm folder (#8) 2021-07-20 02:59:28 +12:00
testdata/my-custom-solver Fixed to remove only the required challange key and also records are also appended not replaced. 2021-07-20 00:04:01 +12:00
.gitignore Update dependencies and prepare for testing 2021-02-22 15:10:52 +00:00
Dockerfile Tidy example package 2021-02-22 16:02:41 +00:00
go.mod bumped version 2021-08-02 14:41:42 +12:00
go.sum bumped version 2021-08-02 14:41:42 +12:00
LICENSE Initial commit 2019-04-15 15:23:59 +01:00
main.go Fixed to remove only the required challange key and also records are also appended not replaced. 2021-07-20 00:04:01 +12:00
main_test.go Fixed to remove only the required challange key and also records are also appended not replaced. 2021-07-20 00:04:01 +12:00
Makefile Added Better Docs and renamed helm folder (#8) 2021-07-20 02:59:28 +12:00
OWNERS Add OWNERS file 2021-02-23 17:26:29 +00:00
README.md Added Better Docs and renamed helm folder (#8) 2021-07-20 02:59:28 +12:00
rendered-manifest.yaml Added Better Docs and renamed helm folder (#8) 2021-07-20 02:59:28 +12:00
starttest.sh Fixed to remove only the required challange key and also records are also appended not replaced. 2021-07-20 00:04:01 +12:00

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