Add helm hook to job-rabbitmq-init of masakari
- Fix that masakari helm hook is not being applied. story: 2011034 task: 49522 Change-Id: Ibd1b5e97e8abf5f0fbab219226500f03e17d015c
This commit is contained in:
parent
3e203c68fa
commit
b5d247ed0e
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Masakari
|
||||
name: masakari
|
||||
version: 0.1.7
|
||||
version: 0.1.8
|
||||
home: https://docs.openstack.org/developer/masakari
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Masakari/OpenStack_Project_masakari_vertical.png
|
||||
sources:
|
||||
|
@ -12,7 +12,15 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/}}
|
||||
|
||||
{{- define "metadata.annotations.job.rabbit_init" }}
|
||||
helm.sh/hook: post-install,post-upgrade
|
||||
helm.sh/hook-weight: "-4"
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.manifests.job_rabbit_init }}
|
||||
{{- $rmqUserJob := dict "envAll" . "serviceName" "masakari" -}}
|
||||
{{- if .Values.helm3_hook }}
|
||||
{{- $_ := set $rmqUserJob "jobAnnotations" (include "metadata.annotations.job.rabbit_init" . | fromYaml) }}
|
||||
{{- end }}
|
||||
{{ $rmqUserJob | include "helm-toolkit.manifests.job_rabbit_init" }}
|
||||
{{- end }}
|
||||
|
@ -8,4 +8,5 @@ masakari:
|
||||
- 0.1.5 Added OCI registry authentication
|
||||
- 0.1.6 Use HTTP probe instead of TCP probe
|
||||
- 0.1.7 Define service_type in keystone_authtoken to support application credentials with access rules
|
||||
- 0.1.8 Add helm hook to jobs-rabbitmq-init
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user