This is a webhook solver for GoDaddy.
- cert-manager: tested with 0.12.0
- helm: tested with 3.0.0
helm repo add godaddy-webhook https://raw.githubusercontent.com/neoGeneva/cert-manager-webhook-godaddy/master/deploy/repo
helm repo update
helm install --namespace cert-manager cert-manager-webhook-godaddy godaddy-webhook/cert-manager-webhook-godaddy
- Generate API Key and Token from GoDaddy https://developer.godaddy.com/
- Create secret to store the API Token
kubectl --namespace cert-manager create secret generic \
godaddy-api-key --from-literal=key='<GODADDY_AUTH_KEY>'
- Configure your ClusterIssuer to reference the GoDaddy webhook.
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: ...
spec:
acme:
solvers:
- dns01:
webhook:
groupName: acme.blackhouse.dev
solverName: godaddy
config:
authAPIKey: <GODADDY_AUTH_TOKEN>
authAPISecretRef:
name: godaddy-api-key
key: key
All DNS providers must run the DNS01 provider conformance testing suite, else they will have undetermined behaviour when used with cert-manager.
It is essential that you configure and run the test suite when creating a DNS01 webhook.
An example Go test file has been provided in main_test.go.
Before you can run the test suite, you need to download the test binaries:
./scripts/fetch-test-binaries.sh
Then create testdata/my-custom-solver/config.json
and testdata/my-custom-solver/api-key.yaml
to setup the configs, using the *.sample
files a reference
Now you can run the test suite with:
TEST_ZONE_NAME=example.com. go test .