qqshfox / cert-manager-webhook-dnspod

DNSPod Webhook for Cert Manager
Apache License 2.0
55 stars 34 forks source link

Error presenting challenge: secrets "cert-manager-webhook-dnspod-secret" not found #5

Closed harvey103565 closed 4 years ago

harvey103565 commented 4 years ago

reproduce the bug:

  1. Install cert-manager-v0.15.1, follow this link and install cert-> > manager using official manifest 'cert-manager.yaml'.

  2. Clone this project and install webhook-dnspod using

    helm install --name cert-manager-webhook-dnspod ./deploy/cert-manager-webhook-dnspod \
       --set groupName=cert-manager.io \
       --set secrets.apiID="my-api-id",secrets.apiToken="my-dns-token" \
       --set clusterIssuer.enabled=true,clusterIssuer.email="my-email"
  3. Create a simply ingress with 'tls' object and ‘cert-manager.io/cluster-issuer:’ annotation.

  4. kubectl describe challenge -n namespace challenge-name

To fix this bug: create webhook-dnspod with following instruction (with namespace specified)

helm install --namespace cert-manager \
    --name cert-manager-webhook-dnspod \
    ./deploy/cert-manager-webhook-dnspod \
    --set groupName=cert-manager.io \
    --set secrets.apiID="my-api-id",secrets.apiToken="my-dns-token" \
    --set clusterIssuer.enabled=true,clusterIssuer.email="my-email"
qqshfox commented 4 years ago

@harvey103565 Thank you for the feedback. Would you please create a PR to fix this issue?

harvey103565 commented 4 years ago

Pardon, I don't use github quite often.

PR created: #8