diff --git a/deploy/charts/library/templates/_cluster-psp.tpl b/deploy/charts/library/templates/_cluster-psp.tpl index 1918f7774e86..2d735d1eed35 100644 --- a/deploy/charts/library/templates/_cluster-psp.tpl +++ b/deploy/charts/library/templates/_cluster-psp.tpl @@ -61,4 +61,4 @@ subjects: - kind: ServiceAccount name: rook-ceph-cmd-reporter namespace: {{ .Release.Namespace }} # namespace:cluster -{{- end -}} +{{- end }} diff --git a/deploy/charts/library/templates/_cluster-rolebinding.tpl b/deploy/charts/library/templates/_cluster-rolebinding.tpl index 4196165b2f7f..b9748d40120c 100644 --- a/deploy/charts/library/templates/_cluster-rolebinding.tpl +++ b/deploy/charts/library/templates/_cluster-rolebinding.tpl @@ -90,4 +90,4 @@ subjects: - kind: ServiceAccount name: rook-ceph-purge-osd namespace: {{ .Release.Namespace }} # namespace:cluster -{{- end -}} +{{- end }} diff --git a/deploy/charts/library/templates/_recommended-labels.tpl b/deploy/charts/library/templates/_recommended-labels.tpl index 906755c67d44..546e3b55c604 100644 --- a/deploy/charts/library/templates/_recommended-labels.tpl +++ b/deploy/charts/library/templates/_recommended-labels.tpl @@ -6,4 +6,4 @@ app.kubernetes.io/part-of: rook-ceph-operator app.kubernetes.io/managed-by: helm app.kubernetes.io/created-by: helm helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" -{{- end -}} +{{- end }} diff --git a/deploy/charts/library/templates/_suffix-cluster-namespace.tpl b/deploy/charts/library/templates/_suffix-cluster-namespace.tpl index 6957a910cde9..fdf679340d21 100644 --- a/deploy/charts/library/templates/_suffix-cluster-namespace.tpl +++ b/deploy/charts/library/templates/_suffix-cluster-namespace.tpl @@ -14,5 +14,5 @@ If the cluster namespace is different from the operator namespace, we want to na {{- $clusterNamespace := .Release.Namespace -}} {{- if ne $clusterNamespace $operatorNamespace -}} {{ printf "-%s" $clusterNamespace }} -{{- end -}} -{{- end -}} +{{- end }} +{{- end }} diff --git a/deploy/charts/rook-ceph-cluster/templates/_helpers.tpl b/deploy/charts/rook-ceph-cluster/templates/_helpers.tpl index 96b5fdbfd55a..a8a6fb5e7928 100644 --- a/deploy/charts/rook-ceph-cluster/templates/_helpers.tpl +++ b/deploy/charts/rook-ceph-cluster/templates/_helpers.tpl @@ -3,14 +3,14 @@ Define the clusterName as defaulting to the release namespace */}} {{- define "clusterName" -}} {{ .Values.clusterName | default .Release.Namespace }} -{{- end -}} +{{- end }} {{/* Return the target Kubernetes version. */}} {{- define "capabilities.kubeVersion" -}} {{- default .Capabilities.KubeVersion.Version .Values.kubeVersion -}} -{{- end -}} +{{- end }} {{/* Return the appropriate apiVersion for ingress. @@ -22,5 +22,5 @@ Return the appropriate apiVersion for ingress. {{- print "networking.k8s.io/v1beta1" -}} {{- else -}} {{- print "networking.k8s.io/v1" -}} -{{- end -}} -{{- end -}} +{{- end }} +{{- end }} diff --git a/deploy/charts/rook-ceph-cluster/templates/rbac.yaml b/deploy/charts/rook-ceph-cluster/templates/rbac.yaml index 7b04b373dece..1e3540572067 100644 --- a/deploy/charts/rook-ceph-cluster/templates/rbac.yaml +++ b/deploy/charts/rook-ceph-cluster/templates/rbac.yaml @@ -14,7 +14,7 @@ clusterrolebindings {{- if .Values.pspEnable }} --- {{ include "library.cluster.psp.rolebindings" . }} -{{- end -}} +{{- end }} {{/* roles @@ -38,4 +38,4 @@ rolebindings {{ include "library.cluster.monitoring.rolebindings" . }} {{- end }} -{{- end -}} +{{- end }} diff --git a/deploy/charts/rook-ceph/templates/cluster-rbac.yaml b/deploy/charts/rook-ceph/templates/cluster-rbac.yaml index 38a21a3512f2..06dcca401682 100644 --- a/deploy/charts/rook-ceph/templates/cluster-rbac.yaml +++ b/deploy/charts/rook-ceph/templates/cluster-rbac.yaml @@ -18,7 +18,7 @@ clusterrolebindings {{- if .Values.pspEnable }} --- {{ include "library.cluster.psp.rolebindings" . }} -{{- end -}} +{{- end }} {{/* roles diff --git a/deploy/charts/rook-ceph/templates/clusterrole.yaml b/deploy/charts/rook-ceph/templates/clusterrole.yaml index f76bbe8832a9..d2af9cbcb2b4 100644 --- a/deploy/charts/rook-ceph/templates/clusterrole.yaml +++ b/deploy/charts/rook-ceph/templates/clusterrole.yaml @@ -535,4 +535,4 @@ rules: - apiGroups: [""] resources: ["serviceaccounts"] verbs: ["get"] -{{- end -}} +{{- end }} diff --git a/deploy/charts/rook-ceph/templates/clusterrolebinding.yaml b/deploy/charts/rook-ceph/templates/clusterrolebinding.yaml index 7663797953a8..c99ec442cc8e 100644 --- a/deploy/charts/rook-ceph/templates/clusterrolebinding.yaml +++ b/deploy/charts/rook-ceph/templates/clusterrolebinding.yaml @@ -99,4 +99,4 @@ roleRef: kind: ClusterRole name: rbd-external-provisioner-runner apiGroup: rbac.authorization.k8s.io -{{- end -}} +{{- end }} diff --git a/deploy/charts/rook-ceph/templates/psp.yaml b/deploy/charts/rook-ceph/templates/psp.yaml index 23c5a415ba07..920299873c62 100644 --- a/deploy/charts/rook-ceph/templates/psp.yaml +++ b/deploy/charts/rook-ceph/templates/psp.yaml @@ -168,4 +168,4 @@ subjects: name: rook-csi-rbd-provisioner-sa namespace: {{ .Release.Namespace }} # namespace:operator {{- end }} -{{- end -}} +{{- end }} diff --git a/deploy/charts/rook-ceph/templates/rolebinding.yaml b/deploy/charts/rook-ceph/templates/rolebinding.yaml index 5be43f9caa09..5e5c4e6cebd6 100644 --- a/deploy/charts/rook-ceph/templates/rolebinding.yaml +++ b/deploy/charts/rook-ceph/templates/rolebinding.yaml @@ -47,7 +47,7 @@ roleRef: name: rbd-csi-nodeplugin apiGroup: rbac.authorization.k8s.io --- -{{- end -}} +{{- end }} kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: @@ -61,4 +61,4 @@ roleRef: kind: Role name: rbd-external-provisioner-cfg apiGroup: rbac.authorization.k8s.io -{{- end -}} +{{- end }}