Skip to content

Commit

Permalink
in case no storageClassName then put empty storageClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed May 6, 2024
1 parent 3ec0393 commit 3ea4509
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apache-nas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: apache-nas
description: A Helm chart for deploying a Apache-httpd server
type: application
version: 0.3.2
version: 0.3.3
appVersion: "1.16.0"
2 changes: 2 additions & 0 deletions apache-nas/templates/apache-nas-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ spec:
- ReadWriteOnce
{{- if .Values.nas.volume.storage_class_name }}
storageClassName: {{ .Values.nas.volume.storage_class_name }}
{{- else }}
storageClassName: ""
{{- end }}
{{- if .Values.nas.volume.pv_name }}
volumeName: {{ .Values.nas.volume.pv_name }}
Expand Down

0 comments on commit 3ea4509

Please sign in to comment.