diff --git a/charts/localstack/templates/pvc.yaml b/charts/localstack/templates/pvc.yaml index 9781146..491e145 100644 --- a/charts/localstack/templates/pvc.yaml +++ b/charts/localstack/templates/pvc.yaml @@ -8,6 +8,9 @@ metadata: {{- include "localstack.labels" . | nindent 4 }} annotations: {{- include "localstack.annotations" . | nindent 4 }} + {{- with .Values.persistence.annotations }} + {{- tpl (toYaml .) $ | nindent 4 }} + {{- end }} spec: accessModes: {{- if not (empty .Values.persistence.accessModes) }} diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index a61d085..eaddbe7 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -157,6 +157,10 @@ persistence: ## @param persistence.subPath The name of a volume's sub path to mount for persistence ## subPath: "" + ## @param persistence.annotations Annotations to be added to PVC + ## + annotations: {} + resources: {} # We usually recommend not to specify default resources and to leave this as a conscious