Closed nogweii closed 1 year ago
Oh, I figured out why. I had misconfigured the ClusterIssuer
:
--- old.yaml 2023-07-05 19:47:22.433275649 -0700
+++ cert-manager.io-v1.ClusterIssuer-letsencrypt.yaml 2023-07-05 19:47:16.329835258 -0700
@@ -16,7 +16,7 @@
- dns01:
webhook:
config:
- apiSecretKeyRef:
+ apiKeySecretRef:
key: api-key
name: powerdns-api-key
host: https://etherium.tail.vpn.aether.earth:16419
Ah! That would do it. However, the webhook shouldn't panic on that. I'll update the check to handle a null object :)
Getting this stack trace in my logs for the pdns container a lot:
Looking at the problematic line I'm not immediately sure why the error is happening: https://github.com/zachomedia/cert-manager-webhook-pdns/blob/v2.3.0/main.go#L267
Running v2.3.0 with helm chart 3.1.0.