argo-cd/crds: add 'hook-delete-policy: before-hook-creation' (#120)

The pattern is standard to support 'helm upgrade' for CRDs
This commit is contained in:
Gustav Paul 2019-09-23 15:01:43 -07:00 committed by Alex Collins
parent 3fce11cdc2
commit d99ab90a6d
3 changed files with 5 additions and 3 deletions

View file

@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "1.2.0" appVersion: "1.2.0"
description: A Helm chart for Argo-CD description: A Helm chart for Argo-CD
name: argo-cd name: argo-cd
version: 0.5.3 version: 0.5.4
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png

View file

@ -8,6 +8,7 @@ metadata:
name: applications.argoproj.io name: applications.argoproj.io
annotations: annotations:
"helm.sh/hook": crd-install "helm.sh/hook": crd-install
"helm.sh/hook-delete-policy": before-hook-creation
spec: spec:
group: argoproj.io group: argoproj.io
names: names:
@ -1724,4 +1725,4 @@ spec:
versions: versions:
- name: v1alpha1 - name: v1alpha1
served: true served: true
storage: true storage: true

View file

@ -8,6 +8,7 @@ metadata:
name: appprojects.argoproj.io name: appprojects.argoproj.io
annotations: annotations:
"helm.sh/hook": crd-install "helm.sh/hook": crd-install
"helm.sh/hook-delete-policy": before-hook-creation
spec: spec:
group: argoproj.io group: argoproj.io
names: names:
@ -489,4 +490,4 @@ spec:
versions: versions:
- name: v1alpha1 - name: v1alpha1
served: true served: true
storage: true storage: true