From 7759977a4ff18f8cd74318a2de3c47b68cc84487 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 24 Jul 2020 12:24:21 +0100 Subject: [PATCH] Helm bugfixes --- charts/kubezero-argo-cd/Chart.yaml | 2 +- .../templates/istio-authorization-policy.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/kubezero-argo-cd/Chart.yaml b/charts/kubezero-argo-cd/Chart.yaml index 1d0ca73..cb87309 100644 --- a/charts/kubezero-argo-cd/Chart.yaml +++ b/charts/kubezero-argo-cd/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: KubeZero ArgoCD Helm chart to install ArgoCD itself and the KubeZero ArgoCD Application name: kubezero-argo-cd -version: 0.3.3 +version: 0.3.5 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: diff --git a/charts/kubezero-argo-cd/templates/istio-authorization-policy.yaml b/charts/kubezero-argo-cd/templates/istio-authorization-policy.yaml index c5e6a08..e0a21d4 100644 --- a/charts/kubezero-argo-cd/templates/istio-authorization-policy.yaml +++ b/charts/kubezero-argo-cd/templates/istio-authorization-policy.yaml @@ -16,8 +16,10 @@ spec: {{- with index .Values "argo-cd" "istio" "ipBlocks" }} {{- . | toYaml | nindent 8 }} {{- end }} - {{- end }} to: - operation: hosts: ["{{ index .Values "argo-cd" "server" "config" "url" }}"] + {{- else }} + - {} + {{- end }} {{- end }}