Skip to content

Commit

Permalink
Only specify storageClassName when set (#2121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramondeklein authored May 14, 2024
1 parent e652ed3 commit c6d57c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/tenant/templates/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ spec:
annotations: {{- toYaml . | nindent 12 }}
{{- end }}
spec:
{{- if dig "storageClassName" "" . }}
storageClassName: {{ dig "storageClassName" "" . }}
{{- end }}
accessModes:
- ReadWriteOnce
resources:
Expand Down

0 comments on commit c6d57c4

Please sign in to comment.