UNCLASSIFIED - NO CUI

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

Add Istio Version to Twistlock

parent 8dc2d5a4
No related branches found
No related tags found
2 merge requests!1386Master,!1164Add Istio Version to Twistlock
......@@ -145,3 +145,16 @@ bigbang.addValueIfSet can be used to nil check parameters before adding them to
{{- end }}
{{- end }}
{{- end -}}
{{/*
Annotation for Istio version
*/}}
{{- define "istioAnnotation" -}}
{{- if .Values.istio.git.semver -}}
bigbang.dev/istioVersion: {{ .Values.istio.git.semver | trimSuffix (regexFind "-bb.*" .Values.istio.git.semver) }}
{{- else if .Values.istio.git.tag -}}
bigbang.dev/istioVersion: {{ .Values.istio.git.tag | trimSuffix (regexFind "-bb.*" .Values.istio.git.tag) }}
{{- else if .Values.istio.git.branch -}}
bigbang.dev/istioVersion: {{ .Values.istio.git.branch }}
{{- end -}}
{{- end -}}
......@@ -31,6 +31,11 @@ istio:
gateways:
- istio-system/{{ default "public" .Values.twistlock.ingress.gateway }}
{{- if .Values.istio.enabled }}
annotations:
{{ include "istioAnnotation" . }}
{{- end }}
console:
image:
imagePullPolicy: {{ .Values.imagePullPolicy }}
......
......@@ -532,7 +532,7 @@ twistlock:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/security-tools/twistlock.git
path: "./chart"
tag: "0.0.12-bb.0"
tag: "0.1.0-bb.0"
# -- Flux reconciliation overrides specifically for the Twistlock Package
flux: {}
......
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