Skip to content

Commit

Permalink
add condition for pv name in apache_nas (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmi151 authored Oct 26, 2023
1 parent ab8fa9c commit 1cd839b
Showing 1 changed file with 2 additions and 0 deletions.
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 @@ spec:
accessModes:
- ReadWriteOnce
storageClassName: {{ .Values.nas.volume.storage_class_name }}
{{- if .Values.nas.volume.pv_name }}
volumeName: {{ .Values.nas.volume.pv_name }}
{{- end }}
resources:
requests:
storage: {{ .Values.nas.volume.storage_size }}

0 comments on commit 1cd839b

Please sign in to comment.