fix: add hooks for cinder bootstrap jobs
Change-Id: Ib457934ff539e4c7e19690a696415394634766d0
This commit is contained in:
parent
1322aea8d0
commit
a0bb05f41e
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Cinder
|
||||
name: cinder
|
||||
version: 0.3.3
|
||||
version: 0.3.4
|
||||
home: https://docs.openstack.org/cinder/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png
|
||||
sources:
|
||||
|
@ -53,6 +53,10 @@ metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "cinder" "backup-storage-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
annotations:
|
||||
{{- if .Values.helm3_hook }}
|
||||
"helm.sh/hook": post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- end }}
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
spec:
|
||||
template:
|
||||
|
@ -54,6 +54,11 @@ metadata:
|
||||
name: cinder-storage-init
|
||||
labels:
|
||||
{{ tuple $envAll "cinder" "storage-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
annotations:
|
||||
{{- if .Values.helm3_hook }}
|
||||
"helm.sh/hook": post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- end }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
|
@ -53,4 +53,5 @@ cinder:
|
||||
- 0.3.1 Change ceph-config-helper image tag
|
||||
- 0.3.2 Remove default policy rules
|
||||
- 0.3.3 Fix for creation endpoins and services when v1/v2 are disabled
|
||||
- 0.3.4 Fix Helm hooks for storage bootstrap jobs
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user