Disable prune for migration

This commit is contained in:
Stefan Reimer 2020-07-08 16:59:25 +01:00
parent 412040b096
commit afccab68e9
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero
description: KubeZero ArgoCD Application - Root App of Apps chart of KubeZero
type: application
version: 0.3.3
version: 0.3.4
home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords:

View File

@ -1,8 +1,10 @@
{{- if .Values.calico.enabled }}
{{ template "kubezero-app.app" dict "root" . "name" "calico" "type" .Values.calico.type "retain" true }}
{{- if not .Values.calico.migration }}
syncPolicy:
automated:
prune: true
{{- end }}
ignoreDifferences:
- group: apiextensions.k8s.io