Skip to content

Commit

Permalink
Add support for labels on the PVC
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed Nov 14, 2024
1 parent 8849cc2 commit 017c1dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/webdav/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ include "nginxwebdav.fullname" . }}-{{ .Values.persistence.name }}
annotations:
{{- toYaml .Values.persistence.annotations | nindent 4 }}
labels:
{{- include "nginxwebdav" . | nindent 4 }}
{{- .Values.persistence.labels | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
Expand Down
1 change: 1 addition & 0 deletions chart/webdav/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ persistence:
name: "webdav"
mountPath: "/media/data"
annotations: {}
labels: {}
size: "1Gi"
storageClass: "default"
additionalVolumes: []
Expand Down

0 comments on commit 017c1dd

Please sign in to comment.