From 34676acaf58246965081ef1814d8237412d5e4bd Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 27 Jun 2019 10:14:06 +0300 Subject: [PATCH] Add Istio TLS mode to podinfo chart --- charts/podinfo/templates/canary.yaml | 3 +++ charts/podinfo/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/charts/podinfo/templates/canary.yaml b/charts/podinfo/templates/canary.yaml index 08107f7f..c1176a17 100644 --- a/charts/podinfo/templates/canary.yaml +++ b/charts/podinfo/templates/canary.yaml @@ -26,6 +26,9 @@ spec: hosts: - {{ .Values.canary.istioIngress.host }} {{- end }} + trafficPolicy: + tls: + mode: {{ .Values.canary.istioTLS }} canaryAnalysis: interval: {{ .Values.canary.analysis.interval }} threshold: {{ .Values.canary.analysis.threshold }} diff --git a/charts/podinfo/values.yaml b/charts/podinfo/values.yaml index b1af8b6f..deff5c3d 100644 --- a/charts/podinfo/values.yaml +++ b/charts/podinfo/values.yaml @@ -17,6 +17,8 @@ hpa: canary: enabled: true + # Istio traffic policy tls can be DISABLE or ISTIO_MUTUAL + istioTLS: DISABLE istioIngress: enabled: false # Istio ingress gateway name