mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
helm: remove namespace from storageclass yaml
removes namespace from non-namespaced storageclass object. fixes: #2714 Replacement for #2715 as we didnt receive any update and PR is already closed. Co-authored-by: jhrcz-ls Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
ee8fb3f05f
commit
0311eb5f44
@ -3,7 +3,6 @@ apiVersion: storage.k8s.io/v1
|
|||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.storageClass.name }}
|
name: {{ .Values.storageClass.name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
{{- if .Values.storageClass.annotations }}
|
{{- if .Values.storageClass.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.storageClass.annotations | indent 4 }}
|
{{ toYaml .Values.storageClass.annotations | indent 4 }}
|
||||||
|
@ -3,7 +3,6 @@ apiVersion: storage.k8s.io/v1
|
|||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.storageClass.name }}
|
name: {{ .Values.storageClass.name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
{{- if .Values.storageClass.annotations }}
|
{{- if .Values.storageClass.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.storageClass.annotations | indent 4 }}
|
{{ toYaml .Values.storageClass.annotations | indent 4 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user