diff --git a/charts/ceph-csi-cephfs/templates/storageclass.yaml b/charts/ceph-csi-cephfs/templates/storageclass.yaml index 62709adc2..4041dec6b 100644 --- a/charts/ceph-csi-cephfs/templates/storageclass.yaml +++ b/charts/ceph-csi-cephfs/templates/storageclass.yaml @@ -3,7 +3,6 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: {{ .Values.storageClass.name }} - namespace: {{ .Release.Namespace }} {{- if .Values.storageClass.annotations }} annotations: {{ toYaml .Values.storageClass.annotations | indent 4 }} diff --git a/charts/ceph-csi-rbd/templates/storageclass.yaml b/charts/ceph-csi-rbd/templates/storageclass.yaml index f381ab3f0..fda713ab3 100644 --- a/charts/ceph-csi-rbd/templates/storageclass.yaml +++ b/charts/ceph-csi-rbd/templates/storageclass.yaml @@ -3,7 +3,6 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: {{ .Values.storageClass.name }} - namespace: {{ .Release.Namespace }} {{- if .Values.storageClass.annotations }} annotations: {{ toYaml .Values.storageClass.annotations | indent 4 }}