Cert-manager ACME DNS01 challenge webhook provider for DNS Made Easy. DNSMadeEasy api wrapper used in this webhook - https://github.com/ndemeshchenko/dnsmadeasy
To install with helm, run:
$ helm repo add dnsmadeasy https://ndemeshchenko.github.io/cert-manager-webhook-dnsmadeasy
$ helm repo update
$ helm install cert-manager-webhook-dnsmadeasy dnsmadeasy/cert-manager-webhook-dnsmadeasy
or
$ git clone $thisRepo
$ cd $thisRepoPath
$ helm install cert-manager-webhook-dnsmadeasy .
without helm, run:
$ make rendered-manifest.yaml
$ kubectl apply -f _out/rendered-manifest.yaml
An example issuer:
apiVersion: v1
kind: Secret
metadata:
name: dnsmadeasy-secret
type: Opaque
stringData:
key: DNSMADEEASY_API_KEY
secret: DNSMADEEASY_API_SECRET
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt-staging
namespace: default
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: [email protected]
privateKeySecretRef:
name: letsencrypt-staging-account-key
solvers:
- dns01:
webhook:
groupName: acme.example.com
solverName: dnsmadeasy
config:
apiKeyRef:
name: dnsmadeasy-secret
key: key
apiSecretRef:
name: dnsmadeasy-secret
key: secret
You can run the test suite with:
- Go to DNSMadeEasy accotun and get one or create new api token
- Fill in the appropriate values in
testdata/dnsmadeasy/apikey.yml
andtestdata/dnsmadeasy/config.json
$ TEST_ZONE_NAME=example.com. make test