add annotations to volumeClaimTemplates in MySQL (#4660)

This commit is contained in:
Abdulrahman Khalil
2020-12-10 20:23:49 +03:00
committed by GitHub
parent abb433ba08
commit 90f2109058
3 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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 }}