Skip to content

Commit

Permalink
remove needed usage of pvc name
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Dec 5, 2024
1 parent fb1fffd commit 00bcea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apache-nas/templates/apache-nas-pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Values.nas.volume.pvc_name }}
name: {{ include "apache-nas.fullname" . }}-data
labels:
{{- include "apache-nas.labels" . | nindent 4 }}
{{- with .Values.nas.volume.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: "{{ $value }}"
{{- end }}
{{- end }}
labels:
app.kubernetes.io/name: apache-nas
spec:
accessModes:
{{- range .Values.nas.volume.accessModes }}
Expand Down
1 change: 0 additions & 1 deletion apache-nas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
nas:
volume:
#pv_name: c2c-com-apache-nas-data
pvc_name: apache-nas-data
#storage_class_name: local or "-" for empty storageClassName
storage_size: 5Gi
accessModes:
Expand Down

0 comments on commit 00bcea2

Please sign in to comment.