Merge pull request #5225 from ywk253100/180629_chart

Add rewrite-target annotation to ingress rule
This commit is contained in:
Wenkai Yin 2018-07-02 11:25:55 +08:00 committed by GitHub
commit e705224b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@ metadata:
annotations:
{{ toYaml .Values.ingress.annotations | indent 4 }}
nginx.ingress.kubernetes.io/rewrite-target: /registryproxy/v2
ingress.kubernetes.io/rewrite-target: /registryproxy/v2
spec:
{{ if not .Values.insecureRegistry }}
tls: