Merge "Added the helm hook for create user job for exporter"
This commit is contained in:
commit
4d2f78fee2
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v10.2.31
|
||||
description: OpenStack-Helm MariaDB
|
||||
name: mariadb
|
||||
version: 0.2.4
|
||||
version: 0.2.5
|
||||
home: https://mariadb.com/kb/en/
|
||||
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
||||
sources:
|
||||
|
@ -22,6 +22,12 @@ apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: exporter-create-sql-user
|
||||
{{- if .Values.helm3_hook }}
|
||||
annotations:
|
||||
"helm.sh/hook": "post-install,post-upgrade"
|
||||
"helm.sh/hook-weight": "5"
|
||||
"helm.sh/hook-delete-policy": "before-hook-creation"
|
||||
{{- end }}
|
||||
spec:
|
||||
backoffLimit: {{ .Values.jobs.exporter_create_sql_user.backoffLimit }}
|
||||
template:
|
||||
|
@ -619,6 +619,10 @@ network_policy:
|
||||
egress:
|
||||
- {}
|
||||
|
||||
# Helm hook breaks for helm2.
|
||||
# Set helm3_hook: false in case helm2 is used.
|
||||
helm3_hook: true
|
||||
|
||||
manifests:
|
||||
certificates: false
|
||||
configmap_bin: true
|
||||
|
@ -20,4 +20,5 @@ mariadb:
|
||||
- 0.2.2 remove deprecated svc annotation tolerate-unready-endpoints
|
||||
- 0.2.3 Remove panko residue
|
||||
- 0.2.4 Use full image ref for docker official images
|
||||
- 0.2.5 Added helm hook for post-install and post-upgrade in prometheus exporter job.
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user