Hi,
I upgraded KIC from 2.3 to 2.7 following upgrade docs. Kong seems to work fine after the upgrade but I’m having issues when creating a new secret of kongCredType
:
kubectl create secret generic harry-apikey \
--from-literal=kongCredType=key-auth \
--from-literal=key=my-sooper-secret-key
Error from server (InternalError): Internal error occurred: failed calling webhook "validations.kong.konghq.com": an error on the server ("unknown operation 'CREATE'") has prevented the request from succeeding
Ingress controller logs: level=error msg="failed to run validation: unknown operation 'CREATE'" component=admission-server
I have set failurePolicy
to Ignore
which allowed me to create secrets I needed but I would prefer to have the policy set to Fail
.
I’m using the official Helm chart in Kubernetes v1.20.