Skip to content

Commit

Permalink
add pvc annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
yahel2410 committed Sep 28, 2023
1 parent 4176450 commit 057a0dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/localstack/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand Down
4 changes: 4 additions & 0 deletions charts/localstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 057a0dd

Please sign in to comment.