From 9ba2f1eb4b4f047b2477a5ff5a47d031844c4a08 Mon Sep 17 00:00:00 2001 From: Thomas Runyon Date: Tue, 15 Dec 2020 07:48:01 -0500 Subject: [PATCH] Add isito flag --- chart/Chart.yaml | 2 +- chart/templates/console-vs.yaml | 2 ++ chart/values.yaml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 60eb91c..48755a2 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: twistlock -version: 0.0.1-bb.0 +version: 0.0.2-bb.0 appVersion: 20.04.163 \ No newline at end of file diff --git a/chart/templates/console-vs.yaml b/chart/templates/console-vs.yaml index 30ca857..b375b34 100644 --- a/chart/templates/console-vs.yaml +++ b/chart/templates/console-vs.yaml @@ -1,3 +1,4 @@ +{{- if .Values.istio.enabled }} apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: @@ -14,3 +15,4 @@ spec: port: number: 8081 host: twistlock-console.{{ .Release.Namespace }}.svc.cluster.local +{{- end }} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index c114d3d..c34ce76 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -2,6 +2,9 @@ prometheus: servicemonitor: enabled: false +istio: + enabled: false + console: hostname: bigbang.dev -- GitLab