cert-manager-webhook-pdns icon indicating copy to clipboard operation
cert-manager-webhook-pdns copied to clipboard

Usage inside of cert-manager namespace

Open max312 opened this issue 1 year ago • 3 comments

I am unable to use this with "cert-manager" as namespace. When inside cert-manager namespace, i get "Unable to handle request" and the webhook-pdns doesn't have any logging?

Also can you clarify some things in the installation process?

  1. is it possible to change the namespace?
  2. how can i change the "groupname" while using helm? 3.I think it is easier to supply a "kubectl apply -f". as this is a relatively small addition to cert-manager and you might save helm overhead?

max312 avatar Jan 06 '24 04:01 max312

I should work within the cert-manager namespace. I can take a look, but to ensure we're about the same setup - what version of cert-manager and what version of Kubernetes are you using?

For your questions:

  1. You can install the webhook into any namespace (helm -n $NAMESPACE install ...). Just make sure the helm values point to the right namesapce for your cert-manager installation (https://github.com/zachomedia/cert-manager-webhook-pdns/blob/6e0531ae4656988ab650061624be10b360568d82/deploy/cert-manager-webhook-pdns/values.yaml#L11).
  2. You can override the group name by overriding the default value (https://github.com/zachomedia/cert-manager-webhook-pdns/blob/6e0531ae4656988ab650061624be10b360568d82/deploy/cert-manager-webhook-pdns/values.yaml#L9)
  3. This was originally based on the https://github.com/cert-manager/webhook-example which had the helm chart, and due to the customization options, I will continue to only offer the helm chart.

Please let me know if you have any additional questions! Thanks

zachomedia avatar Jan 07 '24 02:01 zachomedia