Support for PVC annotations (#51)

This commit is contained in:
Marcel Lambacher
2022-09-06 14:10:07 +02:00
committed by GitHub
parent c8fcb7359f
commit 9a6bbba2de
4 changed files with 31 additions and 1 deletions
+4
View File
@@ -8,6 +8,10 @@ kind: PersistentVolumeClaim
metadata:
name: {{ printf "%s-%s" $robustName .name }}
namespace: {{ $.Release.Namespace }}
{{- if .pvcAnnotations }}
annotations:
{{- toYaml .pvcAnnotations | nindent 4 }}
{{- end }}
spec:
accessModes:
- {{ .accessMode | default "ReadWriteOnce" }}