Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admission webhook denied GoogleCASIssuer must be one of Issuer or ClusterIssuer #94

Open
matt-pave opened this issue Dec 13, 2022 · 1 comment

Comments

@matt-pave
Copy link

matt-pave commented Dec 13, 2022

Error:
cert-manager/ingress-shim "msg"="re-queuing item due to error processing" "error"="admission webhook \"webhook.cert-manager.io\" denied the request: spec.issuerRef.kind: Invalid value: \"GoogleCASIssuer\": must be one of Issuer or ClusterIssuer" "key"="retool/retool-tp"

Logs on the cert-manager controller showing the above error.

kubectl get pods -n cert-manager 
NAME                                              READY   STATUS    RESTARTS   AGE
cert-manager-google-cas-issuer-86667d76f6-fnvkw   1/1     Running   0          55m
cert-manager-tp-5d64fc9cdb-h9xdp                  1/1     Running   0          55m
cert-manager-tp-cainjector-5658d56947-2s2bc       1/1     Running   0          55m
cert-manager-tp-webhook-997d66d67-rlsfj           1/1     Running   0          55m

Problem: GoogleCASIssuer should be able to be approved
Expected behaviour: request approved

@aceresia-posh
Copy link

For anyone looking at this, you need to set the group and kind in the issuerRef

issuerRef:
  name: issuer-name
  group: cas-issuer.jetstack.io
  kind: GoogleCASClusterIssuer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants