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 name: kubezero
description: KubeZero ArgoCD Application - Root App of Apps chart of KubeZero description: KubeZero ArgoCD Application - Root App of Apps chart of KubeZero
type: application type: application
version: 0.3.3 version: 0.3.4
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords: keywords:

View File

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