diff --git a/deployment/local/storage/pv-data.yaml b/deployment/local/storage/pv-data.yaml index 22cf66db5..2e64354ba 100644 --- a/deployment/local/storage/pv-data.yaml +++ b/deployment/local/storage/pv-data.yaml @@ -20,6 +20,7 @@ # # SPDX-License-Identifier: Apache-2.0 ################################################################################# + apiVersion: v1 kind: PersistentVolume metadata: @@ -33,6 +34,6 @@ spec: storageClassName: standard claimRef: name: pvc-data - namespace: default + namespace: {{ .Values.namespace }} hostPath: - path: "/mnt" + path: "/mnt" \ No newline at end of file diff --git a/deployment/local/storage/pvc-data.yaml b/deployment/local/storage/pvc-data.yaml index dbcc22388..f9936817d 100644 --- a/deployment/local/storage/pvc-data.yaml +++ b/deployment/local/storage/pvc-data.yaml @@ -27,7 +27,7 @@ metadata: name: pvc-data labels: {{- include "chart.labels" . | nindent 4 }} - namespace: default + namespace: {{ .Values.namespace }} spec: storageClassName: standard accessModes: