UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 34d3fb2a authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'micah.nagel-master-patch-10161' into 'master'

Allow seamless sidecar cycling for enterprise Istio switch

See merge request !2852
parents 19e8ee42 d0711874
No related branches found
No related tags found
1 merge request!2852Allow seamless sidecar cycling for enterprise Istio switch
Pipeline #2012125 passed with warnings
......@@ -153,14 +153,14 @@ Annotation for Istio version
{{- define "istioAnnotation" -}}
{{- if (eq .Values.istio.sourceType "git") -}}
{{- if .Values.istio.git.semver -}}
bigbang.dev/istioVersion: {{ .Values.istio.git.semver | trimSuffix (regexFind "-bb.*" .Values.istio.git.semver) }}
bigbang.dev/istioVersion: {{ .Values.istio.git.semver | trimSuffix (regexFind "-bb.*" .Values.istio.git.semver) }}{{ if .Values.istio.enterprise }}-enterprise{{ end }}
{{- else if .Values.istio.git.tag -}}
bigbang.dev/istioVersion: {{ .Values.istio.git.tag | trimSuffix (regexFind "-bb.*" .Values.istio.git.tag) }}
bigbang.dev/istioVersion: {{ .Values.istio.git.tag | trimSuffix (regexFind "-bb.*" .Values.istio.git.tag) }}{{ if .Values.istio.enterprise }}-enterprise{{ end }}
{{- else if .Values.istio.git.branch -}}
bigbang.dev/istioVersion: {{ .Values.istio.git.branch }}
bigbang.dev/istioVersion: {{ .Values.istio.git.branch }}{{ if .Values.istio.enterprise }}-enterprise{{ end }}
{{- end -}}
{{- else -}}
bigbang.dev/istioVersion: {{ .Values.istio.helmRepo.tag }}
bigbang.dev/istioVersion: {{ .Values.istio.helmRepo.tag }}{{ if .Values.istio.enterprise }}-enterprise{{ end }}
{{- end -}}
{{- end -}}
......@@ -305,4 +305,4 @@ bigbang.dev/istioVersion: {{ .Values.istio.helmRepo.tag }}
{{- if $cert -}}
{{- printf "-----BEGIN CERTIFICATE-----\n%s\n-----END CERTIFICATE-----" $cert -}}
{{- end -}}
{{- end -}}
\ No newline at end of file
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment