Skip to content

Commit 16425c6

Browse files
Merge pull request #820 from snyk/fix/enable-pvc-in-psp
fix: add pvc to allowed volumes in psp
2 parents 521ee3c + 68ce740 commit 16425c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

snyk-monitor/templates/psp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@ spec:
3333
volumes:
3434
- secret
3535
- configMap
36+
{{- if .Values.pvc.enabled }}
37+
- persistentVolumeClaim
38+
{{- else }}
3639
- emptyDir
40+
{{- end }}
3741
{{- end }}{{- end }}

0 commit comments

Comments
 (0)