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
Can't create server annotation anymore #10543
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This might be related to the breaking change in 1.9 which disables server snippet annotations by default: #10393 |
@longwuyuan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hello , As you can see , this parameters is already set to true in my values. It is also ok in configmap but it is not taken into account. I still get the error message from webhook This a fresh install of the ingress controller not an update. So in the values : controller:
allowSnippetAnnotations: true
config:
allow-snippet-annotations: true ( See original post ) What should I do to make it work ? I wouldn't open an issue if this was just a mistake of configuration.... Thanks for your help. |
I tested this morning because I updated my ingress controller to one of the latest versions (4.9.1). I set
and the error
disappeared. |
What happened:
admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: nginx.ingress.kubernetes.io/server-snippet annotation cannot be used. Snippet directives are disabled by the Ingress administrator
What you expected to happen:
I should be able to add server-snippet
NGINX Ingress controller version -------------------------------------------------------------------------------
Kubernetes version (use
kubectl version
):v1.28.2
Environment:
Installed using kubeadm on private cloud ( Ovh / proxmox )
How was the ingress-nginx-controller installed:
values.yml
Configmap seems ok with theses values :
I know there was some upgrade on that param on 1.9.0 and I had to set to to
true
. But it seems that it is not taken into account.Did I miss something ?
Thanks
The text was updated successfully, but these errors were encountered: