-
Type:
Bug
-
Status: Closed
-
Resolution: Not a Bug
-
Affects Version/s: 7.35.0
-
Fix Version/s: None
-
Component/s: Artifactory, Helm
-
Labels:
-
Environment:
Running on AWS EKS v1.21
❯ helm version
version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"dirty", GoVersion:"go1.16.6"}
-
Severity:High
-
Location:External
I am following the Helm Advanced Options:
https://www.jfrog.com/confluence/display/JFROG/Helm+Charts+for+Advanced+Users#HelmChartsforAdvancedUsers-ArtifactoryAdvancedOptions
and under "Using Ingress Annotations", this annotation is giving me helm error:
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^/(v2)/token /artifactory/api/docker/null/v2/token;
rewrite ^/(v2)/([^\/]*)/(.*) /artifactory/api/docker/$2/$1/$3;
I get error:
helm upgrade artifactory --namespace artifactory jfrog/artifactory -f values.yaml Error: UPGRADE FAILED: cannot patch "artifactory" with kind Ingress: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: nginx.ingress.kubernetes.io/configuration-snippet annotation contains invalid word \