chore(helm): switch MariaDB chart to CloudPirate (#881)

This commit is contained in:
Thibault Martin
2026-04-28 05:59:03 -04:00
committed by GitHub
parent 5242fe1dc9
commit da9978864c
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -21,5 +21,5 @@ version: 0.1.0
appVersion: "v0.38.2" appVersion: "v0.38.2"
dependencies: dependencies:
- name: mariadb - name: mariadb
version: 22.0.* version: 0.16.0
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://registry-1.docker.io/cloudpirates
@@ -36,8 +36,8 @@ spec:
- /bin/sh - /bin/sh
- -c - -c
- | - |
echo "Waiting for database on port {{ .Values.mariadb.primary.service.ports.mysql }}..." echo "Waiting for database on port {{ .Values.mariadb.service.port }}..."
until nc -z -v -w5 {{ .Release.Name }}-mariadb {{ .Values.mariadb.primary.service.ports.mysql }}; do until nc -z -v -w5 {{ .Release.Name }}-mariadb {{ .Values.mariadb.service.port }}; do
echo "Waiting for database..." echo "Waiting for database..."
sleep 2 sleep 2
done done
@@ -63,7 +63,7 @@ spec:
#protocol: TCP #protocol: TCP
env: env:
- name: DATABASE_URL - name: DATABASE_URL
value: jdbc:mariadb://{{ .Release.Name }}-mariadb:{{ .Values.mariadb.primary.service.ports.mysql }}/{{ .Values.mariadb.auth.database }} value: jdbc:mariadb://{{ .Release.Name }}-mariadb:{{ .Values.mariadb.service.port }}/{{ .Values.mariadb.auth.database }}
- name: DATABASE_USERNAME - name: DATABASE_USERNAME
value: {{ .Values.mariadb.auth.username }} value: {{ .Values.mariadb.auth.username }}
- name: DATABASE_PASSWORD - name: DATABASE_PASSWORD
+7 -1
View File
@@ -5,10 +5,16 @@
mariadb: mariadb:
enabled: true enabled: true
image: image:
tag: 11.8.3 tag: 12.2.2
auth: auth:
database: grimmory database: grimmory
username: grimmory username: grimmory
# existingSecret: mariadb-credentials
# secretKeys:
# rootPasswordKey: mariadb-root-password
# userPasswordKey: mariadb-password
service:
port: 3306
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image: image:
repository: grimmory/grimmory repository: grimmory/grimmory