From 9231f402f096c57fcca3fd143000769f4a65708f Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 22 Jul 2020 20:11:34 +0100 Subject: [PATCH] More istio bootstrap tweaks --- charts/kubezero-istio/templates/ingress-gateway.yaml | 4 ---- deploy/templates/values.yaml | 2 +- deploy/values.yaml | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/charts/kubezero-istio/templates/ingress-gateway.yaml b/charts/kubezero-istio/templates/ingress-gateway.yaml index 7f31c2b..907d107 100644 --- a/charts/kubezero-istio/templates/ingress-gateway.yaml +++ b/charts/kubezero-istio/templates/ingress-gateway.yaml @@ -3,8 +3,6 @@ kind: Gateway metadata: name: ingressgateway namespace: istio-system - annotations: - argocd.argoproj.io/sync-wave: "10" spec: selector: istio: ingressgateway @@ -35,8 +33,6 @@ kind: Gateway metadata: name: private-ingressgateway namespace: istio-system - annotations: - argocd.argoproj.io/sync-wave: "10" spec: selector: istio: private-ingressgateway diff --git a/deploy/templates/values.yaml b/deploy/templates/values.yaml index 1219b72..ab70479 100644 --- a/deploy/templates/values.yaml +++ b/deploy/templates/values.yaml @@ -82,7 +82,7 @@ argo-cd: configs: {{- toYaml . | nindent 4 }} {{- end }} - {{- if not .Values.bootstrap }} + {{- if and ( not .Values.bootstrap ) .Values.istio.enabled }} istio: enabled: {{ index .Values "argo-cd" "istio" "enabled" }} gateway: private-ingressgateway.istio-system.svc.cluster.local diff --git a/deploy/values.yaml b/deploy/values.yaml index ca4e5e1..705c141 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -23,9 +23,6 @@ kiam: istio: enabled: false -istio-operator: - enabled: false - prometheus: enabled: false