chore(helm): switch MariaDB chart to CloudPirate (#881)
This commit is contained in:
@@ -21,5 +21,5 @@ version: 0.1.0
|
||||
appVersion: "v0.38.2"
|
||||
dependencies:
|
||||
- name: mariadb
|
||||
version: 22.0.*
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 0.16.0
|
||||
repository: oci://registry-1.docker.io/cloudpirates
|
||||
|
||||
@@ -36,8 +36,8 @@ spec:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
echo "Waiting for database on port {{ .Values.mariadb.primary.service.ports.mysql }}..."
|
||||
until nc -z -v -w5 {{ .Release.Name }}-mariadb {{ .Values.mariadb.primary.service.ports.mysql }}; do
|
||||
echo "Waiting for database on port {{ .Values.mariadb.service.port }}..."
|
||||
until nc -z -v -w5 {{ .Release.Name }}-mariadb {{ .Values.mariadb.service.port }}; do
|
||||
echo "Waiting for database..."
|
||||
sleep 2
|
||||
done
|
||||
@@ -63,7 +63,7 @@ spec:
|
||||
#protocol: TCP
|
||||
env:
|
||||
- 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
|
||||
value: {{ .Values.mariadb.auth.username }}
|
||||
- name: DATABASE_PASSWORD
|
||||
|
||||
@@ -5,10 +5,16 @@
|
||||
mariadb:
|
||||
enabled: true
|
||||
image:
|
||||
tag: 11.8.3
|
||||
tag: 12.2.2
|
||||
auth:
|
||||
database: 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/
|
||||
image:
|
||||
repository: grimmory/grimmory
|
||||
|
||||
Reference in New Issue
Block a user