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