aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-mariadb
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2025-03-05 09:55:50 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2025-03-05 14:44:49 +0100
commit384bf58d5370b2fa81645dd174975c30f3e10b6e (patch)
tree8d55a68e6434c651f7b8c8d8251f7bcf898f485d /kubernetes/so/components/so-mariadb
parent6602551f7bac15cdaf7cbf2b9b6d3f43ae482fc6 (diff)
[MARIADB] Update image versions to the latest MariaDB Operator
Update tags for MariaDB Galera Init and agent containers to v0.37.1 Add new docker repository for mariadb-operator images Update mariadb template to use resource settings Update SO jobAnnotation handling for DB init Fix minimu resource settings in SO Issue-ID: OOM-3335 Change-Id: I5f31e3db62ed27d33ea47b69645d9beb55e45335 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/so/components/so-mariadb')
-rw-r--r--kubernetes/so/components/so-mariadb/templates/job.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/kubernetes/so/components/so-mariadb/templates/job.yaml b/kubernetes/so/components/so-mariadb/templates/job.yaml
index 93660280cb..c075c6922a 100644
--- a/kubernetes/so/components/so-mariadb/templates/job.yaml
+++ b/kubernetes/so/components/so-mariadb/templates/job.yaml
@@ -80,10 +80,9 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
- annotations:
- "helm.sh/hook": post-upgrade,post-rollback,post-install
- "helm.sh/hook-weight": "0"
- "helm.sh/hook-delete-policy": before-hook-creation
+ {{- if .Values.jobAnnotations }}
+ annotations: {{- include "common.tplValue" (dict "value" .Values.jobAnnotations "context" $) | nindent 4 }}
+ {{- end }}
spec:
backoffLimit: 20
template: