From d78a63ae00d6b142461580816fce9eaf276ef366 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 ecaba88c..f07e0df9 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 }}