Skip to content

Commit

Permalink
allow ability to not specify any storageClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed May 6, 2024
1 parent 8b8538f commit f592da5
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.0
version: 0.3.1
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 @@ -8,7 +8,9 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
{{- if .Values.nas.volume.storage_class_name }}
storageClassName: {{ .Values.nas.volume.storage_class_name }}
{{- end }}
{{- if .Values.nas.volume.pv_name }}
volumeName: {{ .Values.nas.volume.pv_name }}
{{- end }}
Expand Down

0 comments on commit f592da5

Please sign in to comment.