From dff0513750ddf6737641f294f76ec28811897ead Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Tue, 17 Aug 2021 09:37:38 +0530 Subject: [PATCH] ceph: use serviceAccountName as the key in ceph csi templates Signed-off-by: Humble Chirammal --- .../csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml | 2 +- .../kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin.yaml | 2 +- .../ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml | 2 +- .../kubernetes/ceph/csi/template/rbd/csi-rbdplugin.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml index 5d8541d7c..91a2521cd 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml @@ -17,7 +17,7 @@ spec: {{ $key }}: "{{ $value }}" {{ end }} spec: - serviceAccount: rook-csi-cephfs-provisioner-sa + serviceAccountName: rook-csi-cephfs-provisioner-sa {{ if .ProvisionerPriorityClassName }} priorityClassName: {{ .ProvisionerPriorityClassName }} {{ end }} diff --git a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin.yaml b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin.yaml index 6d1d811fd..31251daae 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin.yaml @@ -18,7 +18,7 @@ spec: {{ $key }}: "{{ $value }}" {{ end }} spec: - serviceAccount: rook-csi-cephfs-plugin-sa + serviceAccountName: rook-csi-cephfs-plugin-sa hostNetwork: {{ .EnableCSIHostNetwork }} {{ if .PluginPriorityClassName }} priorityClassName: {{ .PluginPriorityClassName }} diff --git a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml index df35b8f1b..03b962a3f 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml @@ -17,7 +17,7 @@ spec: {{ $key }}: "{{ $value }}" {{ end }} spec: - serviceAccount: rook-csi-rbd-provisioner-sa + serviceAccountName: rook-csi-rbd-provisioner-sa {{ if .ProvisionerPriorityClassName }} priorityClassName: {{ .ProvisionerPriorityClassName }} {{ end }} diff --git a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin.yaml b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin.yaml index 5e83ac894..4ac97ff7b 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin.yaml @@ -18,7 +18,7 @@ spec: {{ $key }}: "{{ $value }}" {{ end }} spec: - serviceAccount: rook-csi-rbd-plugin-sa + serviceAccountName: rook-csi-rbd-plugin-sa {{ if .PluginPriorityClassName }} priorityClassName: {{ .PluginPriorityClassName }} {{ end }}