Skip to content

ingress: Enable controller.allowSnippetAnnotations

Ahmon Dancy requested to merge main-I55d94cfe142ce617d974cbdcf14304748e265654 into main

Set controller.allowSnippetAnnotations to true since Reggie uses
such a snippet.

This is to deal with the following error I encountered when trying to update Reggie in the staging cluster:

Error: cannot patch "reggie" with kind Ingress: 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  

Merge request reports

Loading