mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 14:37:44 +01:00
Merge pull request #5225 from ywk253100/180629_chart
Add rewrite-target annotation to ingress rule
This commit is contained in:
commit
e705224b3f
@ -41,6 +41,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.ingress.annotations | indent 4 }}
|
{{ toYaml .Values.ingress.annotations | indent 4 }}
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /registryproxy/v2
|
nginx.ingress.kubernetes.io/rewrite-target: /registryproxy/v2
|
||||||
|
ingress.kubernetes.io/rewrite-target: /registryproxy/v2
|
||||||
spec:
|
spec:
|
||||||
{{ if not .Values.insecureRegistry }}
|
{{ if not .Values.insecureRegistry }}
|
||||||
tls:
|
tls:
|
||||||
|
Loading…
Reference in New Issue
Block a user