diff --git a/charts/invenio/templates/persistentvolumeclaim.yaml b/charts/invenio/templates/persistentvolumeclaim.yaml index fa8973c..7571dc6 100644 --- a/charts/invenio/templates/persistentvolumeclaim.yaml +++ b/charts/invenio/templates/persistentvolumeclaim.yaml @@ -7,6 +7,9 @@ metadata: app: web annotations: helm.sh/resource-policy: keep + {{- if .Values.persistence.annotations }} + {{- .Values.persistence.annotations | toYaml | nindent 4 }} + {{- end }} spec: {{- if .Values.persistence.storage_class }} storageClassName: {{ .Values.persistence.storage_class }} diff --git a/charts/invenio/values.yaml b/charts/invenio/values.yaml index 9f09b6f..25bb52d 100644 --- a/charts/invenio/values.yaml +++ b/charts/invenio/values.yaml @@ -159,6 +159,7 @@ persistence: enabled: true name: "shared-volume" access_mode: ReadWriteMany + annotations: {} size: 10G storage_class: ""