Fixed cephfs-provisioner chart update

cephfs-provisioner fails to upgrade when overrides
are changed due to missing annotations.

This commit address an application issue with
https://review.opendev.org/c/starlingx/platform-armada-app/+/758786

Closes-bug: 1918674
Signed-off-by: Daniel Safta <daniel.safta@windriver.com>
Change-Id: I270c551d09c8b0c4440406cad68a8b5799cd9fb9
This commit is contained in:
Daniel Safta 2021-03-11 13:32:42 +00:00
parent f48ac19d64
commit 88570d9f05
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ kind: Job
metadata:
name: cephfs-storage-init
namespace: {{ $defaults.cephFSNamespace }}
annotations:
"helm.sh/hook": "post-install, pre-upgrade, pre-rollback"
"helm.sh/hook-delete-policy": "before-hook-creation"
spec:
backoffLimit: 5
template: