2021-11-15 18:47:17 +00:00
|
|
|
image:
|
2023-11-17 10:18:43 +00:00
|
|
|
repository: bitnami/mariadb
|
2021-11-15 18:47:17 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-02-24 14:25:41 +00:00
|
|
|
tag: 11.2.3@sha256:0792f88e171df9d330333724c7511763b305110a8efe7ac2749bd0731a4a98c9
|
2023-03-01 15:48:43 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
MARIADB_PASSWORD:
|
|
|
|
secretKeyRef:
|
2023-03-05 17:15:26 +00:00
|
|
|
expandObjectName: "{{ if .Values.mariadbPassword }}true{{ else }}false{{ end }}"
|
|
|
|
name: '{{ if .Values.mariadbPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "mariadbcreds" }}{{ end }}'
|
2023-03-01 15:48:43 +00:00
|
|
|
key: "mariadb-password"
|
|
|
|
MARIADB_ROOT_PASSWORD:
|
|
|
|
secretKeyRef:
|
2023-03-05 17:15:26 +00:00
|
|
|
expandObjectName: "{{ if .Values.mariadbPassword }}true{{ else }}false{{ end }}"
|
|
|
|
name: '{{ if .Values.mariadbPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "mariadbcreds" }}{{ end }}'
|
2023-03-01 15:48:43 +00:00
|
|
|
key: "mariadb-root-password"
|
|
|
|
MARIADB_USER: "{{ .Values.mariadbUsername }}"
|
|
|
|
MARIADB_DATABASE: "{{ .Values.mariadbDatabase }}"
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
2023-03-05 17:15:26 +00:00
|
|
|
type: exec
|
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
- -ec
|
|
|
|
- "until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done"
|
2023-03-01 15:48:43 +00:00
|
|
|
readiness:
|
|
|
|
enabled: true
|
2023-03-05 17:15:26 +00:00
|
|
|
type: exec
|
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
- -ec
|
|
|
|
- "until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done"
|
2023-03-01 15:48:43 +00:00
|
|
|
startup:
|
|
|
|
enabled: true
|
2023-03-05 17:15:26 +00:00
|
|
|
type: exec
|
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
- -ec
|
|
|
|
- "until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done"
|
2021-11-15 18:47:17 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 3306
|
|
|
|
targetPort: 3306
|
|
|
|
securityContext:
|
2023-03-01 15:48:43 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsGroup: 0
|
2022-06-07 17:41:19 +00:00
|
|
|
secret:
|
|
|
|
credentials:
|
|
|
|
enabled: true
|
|
|
|
data:
|
|
|
|
mariadb-password: '{{ ( .Values.mariadbPassword | default "empty" ) }}'
|
|
|
|
mariadb-root-password: '{{ ( .Values.mariadbRootPassword | default "empty" ) }}'
|
2023-03-12 09:02:32 +00:00
|
|
|
persistence:
|
2021-11-15 19:50:10 +00:00
|
|
|
data:
|
2021-11-15 18:47:17 +00:00
|
|
|
enabled: true
|
2021-12-05 11:37:24 +00:00
|
|
|
mountPath: "/bitnami/mariadb"
|
2021-11-15 18:47:17 +00:00
|
|
|
mariadbUsername: "test"
|
|
|
|
mariadbDatabase: "test"
|
|
|
|
mariadbRootPassword: "testroot"
|
2023-03-05 17:15:26 +00:00
|
|
|
# -- Secret or password
|
|
|
|
# One of these options is required, unless used as a dependency for another TrueCharts chart.
|
|
|
|
mariadbPassword: ""
|
2021-11-15 18:47:17 +00:00
|
|
|
existingSecret: ""
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-03-01 15:48:43 +00:00
|
|
|
open:
|
|
|
|
enabled: false
|
2023-03-01 22:24:09 +00:00
|
|
|
manifestManager:
|
2023-01-15 13:44:57 +00:00
|
|
|
enabled: false
|