diff --git a/src/chartmuseum/templates/pv.yaml b/src/chartmuseum/templates/pv.yaml index 1aaff0f..dac9605 100644 --- a/src/chartmuseum/templates/pv.yaml +++ b/src/chartmuseum/templates/pv.yaml @@ -15,7 +15,9 @@ spec: storage: {{ .Values.persistence.pv.capacity.storage }} accessModes: - {{ .Values.persistence.pv.accessMode | quote }} +{{- .Values.persistence.pv.nfs.enabled }} nfs: server: {{ .Values.persistence.pv.nfs.server }} path: {{ .Values.persistence.pv.nfs.path | quote }} +{{- end }} {{- end }} \ No newline at end of file diff --git a/src/chartmuseum/values.yaml b/src/chartmuseum/values.yaml index 0f97de4..24b9f27 100644 --- a/src/chartmuseum/values.yaml +++ b/src/chartmuseum/values.yaml @@ -232,6 +232,7 @@ persistence: storage: 8Gi accessMode: ReadWriteOnce nfs: + enabled: false server: path: