This PR contains the following updates: | Package | Update | Change | |---|---|---| | [common](https://truecharts.org/charts/library/common) ([source](https://ghcr.io/cloudnative-pg/postgis)) | major | `25.4.10` -> `28.12.1` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInJlbm92YXRlL2hlbG0iLCJ0eXBlL21ham9yIl19--> --------- Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> Co-authored-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> Co-authored-by: alfi0812 <admin@alfi0812.de>
79 lines
2.2 KiB
YAML
79 lines
2.2 KiB
YAML
image:
|
|
repository: public.ecr.aws/bitnami/mariadb
|
|
pullPolicy: IfNotPresent
|
|
tag: 11.8.2@sha256:450dff344e2dafaf87de1356c6decc223c170bec6810b3477881364a3ccde7f2
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
MARIADB_PASSWORD: "{{ .Values.password }}"
|
|
MARIADB_ROOT_PASSWORD: "{{ .Values.rootPassword }}"
|
|
MARIADB_USER: "{{ .Values.mariadbUsername }}"
|
|
MARIADB_DATABASE: "{{ .Values.mariadbDatabase }}"
|
|
MARIADB_EXTRA_FLAGS: "--init-file=/init/passinit.sql"
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
type: exec
|
|
command:
|
|
- /bin/bash
|
|
- -ec
|
|
- "until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done"
|
|
readiness:
|
|
enabled: true
|
|
type: exec
|
|
command:
|
|
- /bin/bash
|
|
- -ec
|
|
- "until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done"
|
|
startup:
|
|
enabled: true
|
|
type: exec
|
|
command:
|
|
- /bin/bash
|
|
- -ec
|
|
- "until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done"
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 3306
|
|
targetPort: 3306
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsGroup: 0
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/bitnami/mariadb"
|
|
passinit:
|
|
enabled: true
|
|
type: configmap
|
|
objectName: passinit
|
|
items:
|
|
- key: passinit.sql
|
|
path: passinit.sql
|
|
targetSelector:
|
|
main:
|
|
main:
|
|
subPath: passinit.sql
|
|
mountPath: /init/passinit.sql
|
|
|
|
configmap:
|
|
passinit:
|
|
enabled: true
|
|
data:
|
|
passinit.sql: |
|
|
ALTER USER root@'%' IDENTIFIED VIA mysql_native_password USING PASSWORD("{{ .Values.rootPassword }}");
|
|
ALTER USER {{ .Values.mariadbUsername }}@'%' IDENTIFIED VIA mysql_native_password USING PASSWORD("{{ .Values.password }}");
|
|
FLUSH PRIVILEGES;
|
|
|
|
mariadbUsername: "test"
|
|
mariadbDatabase: "test"
|
|
## DEVNOTE: These password defaults always need to match common
|
|
rootPassword: "PLACEHOLDERROOTPASSWORD"
|
|
password: "PLACEHOLDERPASSWORD"
|