UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit df75f9cb authored by Micah Nagel's avatar Micah Nagel
Browse files

Update chart/templates/twistlock/values.yaml

parent b681af10
No related branches found
No related tags found
2 merge requests!1164Add Istio Version to Twistlock,!1163Draft: Add Istio Version to Twistlock
Pipeline #607506 passed
......@@ -31,10 +31,10 @@ istio:
gateways:
- istio-system/{{ default "public" .Values.twistlock.ingress.gateway }}
{{- if .Values.istio.git.semver }}
{{- $istioVersionSuffix := .Values.istio.git.semver | regexFind "-bb.*" -}}
{{- $istioVersionSuffix := .Values.istio.git.semver | regexFind "-bb.*" }}
version: {{ .Values.istio.git.semver | trimSuffix $istioVersionSuffix }}
{{- else if .Values.istio.git.tag }}
{{- $istioVersionSuffix := .Values.istio.git.tag | regexFind "-bb.*" -}}
{{- $istioVersionSuffix := .Values.istio.git.tag | regexFind "-bb.*" }}
version: {{ .Values.istio.git.tag | trimSuffix $istioVersionSuffix }}
{{- else if .Values.istio.git.branch }}
version: {{ .Values.istio.git.branch }}
......
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