Remove hook-delete-policy default settings from HTK
These hooks were added as part of a previous change, however tiller does not handle these correctly, and jobs get deleted without being recreated. This change removes the hook from default htk annotations. Change-Id: I2aa7bb241ebbb7b54c5dc9cf21cd5ba290b7e5fd
This commit is contained in:
parent
33b2f3043f
commit
4ed2a6fe53
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Helm-Toolkit
|
||||
name: helm-toolkit
|
||||
version: 0.2.11
|
||||
version: 0.2.12
|
||||
home: https://docs.openstack.org/openstack-helm
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
||||
sources:
|
||||
|
@ -45,7 +45,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceNamePretty "bootstrap" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -46,7 +46,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceNamePretty "db-init" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -43,7 +43,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceNamePretty "db-sync" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -46,7 +46,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceNamePretty "ks-endpoints" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -46,7 +46,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceNamePretty "ks-service" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -46,7 +46,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceUserPretty "ks-user" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -33,7 +33,6 @@ kind: Job
|
||||
metadata:
|
||||
name: {{ printf "%s-%s" $serviceUserPretty "rabbit-init" | quote }}
|
||||
annotations:
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -41,7 +41,6 @@ metadata:
|
||||
name: {{ printf "%s-%s" $serviceNamePretty "s3-bucket" | quote }}
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
"helm.sh/hook-delete-policy": before-hook-creation
|
||||
{{- if $jobAnnotations }}
|
||||
{{ toYaml $jobAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -18,4 +18,5 @@ helm-toolkit:
|
||||
- 0.2.9 Jobs; put labels only in the template spec
|
||||
- 0.2.10 Add more S3 configuration options
|
||||
- 0.2.11 Revert S3 User & Bucket job scripts to v0.2.9
|
||||
- 0.2.12 Remove hook-delete-policy
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user