summaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2019-06-13 19:23:39 +0800
committerGary Wu <gary.wu@futurewei.com>2019-06-13 14:24:49 +0000
commit00f1dfc2d16bbe2f69d1a8d95f027ec77a385069 (patch)
treebe66a01a47934d70f0b89fefc15712eaaea2a55e /vnfs
parente7cf41ad23960f23c03a553f62f5d710054ede23 (diff)
Added hook delete policy for CRD in rook-ceph
This is to ensure after 'helm delete rook-ceph', it can be installed again succefully. Change-Id: I9ad8b83bca24542897ff08a90aece0249650917c Issue-ID: ONAPARC-366 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'vnfs')
-rw-r--r--vnfs/DAaaS/deploy/00-init/rook-ceph/templates/resources.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/00-init/rook-ceph/templates/resources.yaml b/vnfs/DAaaS/deploy/00-init/rook-ceph/templates/resources.yaml
index e296663f..5ea4177a 100644
--- a/vnfs/DAaaS/deploy/00-init/rook-ceph/templates/resources.yaml
+++ b/vnfs/DAaaS/deploy/00-init/rook-ceph/templates/resources.yaml
@@ -5,6 +5,7 @@ metadata:
name: cephclusters.ceph.rook.io
annotations:
"helm.sh/hook": crd-install
+ "helm.sh/hook-delete-policy": before-hook-creation
spec:
group: ceph.rook.io
names:
@@ -88,6 +89,7 @@ metadata:
name: cephfilesystems.ceph.rook.io
annotations:
"helm.sh/hook": crd-install
+ "helm.sh/hook-delete-policy": before-hook-creation
spec:
group: ceph.rook.io
names:
@@ -112,6 +114,7 @@ metadata:
name: cephobjectstores.ceph.rook.io
annotations:
"helm.sh/hook": crd-install
+ "helm.sh/hook-delete-policy": before-hook-creation
spec:
group: ceph.rook.io
names:
@@ -128,6 +131,7 @@ metadata:
name: cephobjectstoreusers.ceph.rook.io
annotations:
"helm.sh/hook": crd-install
+ "helm.sh/hook-delete-policy": before-hook-creation
spec:
group: ceph.rook.io
names:
@@ -147,6 +151,7 @@ metadata:
name: cephblockpools.ceph.rook.io
annotations:
"helm.sh/hook": crd-install
+ "helm.sh/hook-delete-policy": before-hook-creation
spec:
group: ceph.rook.io
names:
@@ -163,6 +168,7 @@ metadata:
name: volumes.rook.io
annotations:
"helm.sh/hook": crd-install
+ "helm.sh/hook-delete-policy": before-hook-creation
spec:
group: rook.io
names: