The error:
error running rbacReconcile: error running kubectl auth reconcile: unable to decode "/dev/shm/1356746175": json: cannot unmarshal string into Go struct field PolicyRule.rules.resourceNames of type []string
Run
helm template cert-manager-webhook-hetzner \
--repo https://vadimkim.github.io/cert-manager-webhook-hetzner \
--version 1.4.0 \
--namespace cert-manager \
--set groupName=acme.newbo.app \
--set secretName="hetzner-dns-api-token" \
--set apiKeyName=api-key \
| grep -A 2 resourceNames
this shows the underlying issue:
resourceNames:
hetzner-dns-api-token
verbs: