Skip to content

Commit

Permalink
ci: update helm script
Browse files Browse the repository at this point in the history
  • Loading branch information
李一凡 committed Jul 3, 2022
1 parent 68c2899 commit 5c0c38a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ metadata:
{{- if .Values.ingress.canary.cookie }}
nginx.ingress.kubernetes.io/canary-by-cookie: {{ .Values.ingress.canary.cookie | quote }}
{{- end }}
{{- if .Values.ingress.canary.header }}
nginx.ingress.kubernetes.io/canary-by-header: {{ .Values.ingress.canary.header | quote }}
{{- if .Values.ingress.canary.header.name }}
nginx.ingress.kubernetes.io/canary-by-header: {{ .Values.ingress.canary.header.name | quote }}
{{- if .Values.ingress.canary.header.value }}
nginx.ingress.kubernetes.io/canary-by-header-value: {{ .Values.ingress.canary.header.value | quote }}
{{- else if .Values.ingress.canary.header.pattern }}
Expand Down

0 comments on commit 5c0c38a

Please sign in to comment.