mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 06:47:32 +08:00
add annotations to volumeClaimTemplates in MySQL (#4660)
This commit is contained in:
committed by
GitHub
parent
abb433ba08
commit
90f2109058
@@ -25,4 +25,4 @@ name: mysql
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-mysql
|
||||
- https://mysql.com
|
||||
version: 8.2.0
|
||||
version: 8.2.1
|
||||
|
||||
@@ -312,6 +312,10 @@ spec:
|
||||
name: data
|
||||
labels: {{ include "common.labels.matchLabels" . | nindent 10 }}
|
||||
app.kubernetes.io/component: primary
|
||||
{{- if .Values.primary.persistence.annotations }}
|
||||
annotations:
|
||||
{{- toYaml .Values.primary.persistence.annotations | nindent 10 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
{{- range .Values.primary.persistence.accessModes }}
|
||||
|
||||
@@ -281,6 +281,10 @@ spec:
|
||||
name: data
|
||||
labels: {{ include "common.labels.matchLabels" . | nindent 10 }}
|
||||
app.kubernetes.io/component: secondary
|
||||
{{- if .Values.secondary.persistence.annotations }}
|
||||
annotations:
|
||||
{{- toYaml .Values.secondary.persistence.annotations | nindent 10 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
{{- range .Values.secondary.persistence.accessModes }}
|
||||
|
||||
Reference in New Issue
Block a user