mirror of
https://github.com/bitnami/charts.git
synced 2026-02-16 00:17:14 +08:00
[bitnami/mariadb-galera] chore: ♻️ Move all emptydirs to one (#23617)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
50a8bafeb6
commit
16c310ee3e
@@ -33,4 +33,4 @@ maintainers:
|
||||
name: mariadb-galera
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/mariadb-galera
|
||||
version: 11.5.0
|
||||
version: 11.6.0
|
||||
|
||||
@@ -351,14 +351,18 @@ spec:
|
||||
- name: mariadb-galera-credentials
|
||||
mountPath: /opt/bitnami/mariadb/secrets/
|
||||
{{- end }}
|
||||
- name: tmp-dir
|
||||
- name: empty-dir
|
||||
mountPath: /tmp
|
||||
- name: app-conf-dir
|
||||
subPath: tmp-dir
|
||||
- name: empty-dir
|
||||
mountPath: /opt/bitnami/mariadb/conf
|
||||
- name: app-tmp-dir
|
||||
subPath: app-conf-dir
|
||||
- name: empty-dir
|
||||
mountPath: /opt/bitnami/mariadb/tmp
|
||||
- name: app-logs-dir
|
||||
subPath: app-tmp-dir
|
||||
- name: empty-dir
|
||||
mountPath: /opt/bitnami/mariadb/logs
|
||||
subPath: app-logs-dir
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||
{{- end }}
|
||||
@@ -427,8 +431,9 @@ spec:
|
||||
- name: mariadb-galera-credentials
|
||||
mountPath: /opt/bitnami/mysqld-exporter/secrets/
|
||||
{{- end }}
|
||||
- name: tmp-dir
|
||||
- name: empty-dir
|
||||
mountPath: /tmp
|
||||
subPath: app-tmp-dir
|
||||
{{- end }}
|
||||
{{- if .Values.sidecars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.sidecars "context" $) | nindent 8 }}
|
||||
@@ -464,13 +469,7 @@ spec:
|
||||
configMap:
|
||||
name: {{ template "mariadb-galera.initdbScriptsCM" . }}
|
||||
{{- end }}
|
||||
- name: app-conf-dir
|
||||
emptyDir: {}
|
||||
- name: app-tmp-dir
|
||||
emptyDir: {}
|
||||
- name: app-logs-dir
|
||||
emptyDir: {}
|
||||
- name: tmp-dir
|
||||
- name: empty-dir
|
||||
emptyDir: {}
|
||||
{{- if .Values.extraVolumes }}
|
||||
{{- toYaml .Values.extraVolumes | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user