From a1d54cb80bab4f624a02faaacd94ab7ed1f8f0b7 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 26 Apr 2021 17:19:11 +0200 Subject: [PATCH] fix: fix metrics for Istio --- charts/kubezero/templates/istio.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/charts/kubezero/templates/istio.yaml b/charts/kubezero/templates/istio.yaml index ecaba88..f07e0df 100644 --- a/charts/kubezero/templates/istio.yaml +++ b/charts/kubezero/templates/istio.yaml @@ -1,16 +1,15 @@ {{- define "istio-values" }} -{{- if .Values.HighAvailableControlplane }} -global: - defaultPodDisruptionBudget: - enabled: true - istio-discovery: + telemetry: + enabled: {{ .Values.metrics.enabled }} +{{- if .Values.HighAvailableControlplane }} pilot: replicaCount: 2 - telemetry: - enabled: {{ .Values.metrics.enabled }} +global: + defaultPodDisruptionBudget: + enabled: true {{- end }} {{- end }}