deploy: use serviceAccountName instead of serviceAccount in yamls

serviceAccount is the depricated alias for serviceAccountName, so it
is recommended/suggested to use serviceAccountName instead.

For ex. reference:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2021-04-05 17:13:45 +05:30 committed by mergify[bot]
parent c4856195a2
commit 1b0ebc43d4
6 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,7 @@ spec:
values: values:
- csi-cephfsplugin-provisioner - csi-cephfsplugin-provisioner
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
serviceAccount: cephfs-csi-provisioner serviceAccountName: cephfs-csi-provisioner
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical
containers: containers:
- name: csi-provisioner - name: csi-provisioner

View File

@ -12,7 +12,7 @@ spec:
labels: labels:
app: csi-cephfsplugin app: csi-cephfsplugin
spec: spec:
serviceAccount: cephfs-csi-nodeplugin serviceAccountName: cephfs-csi-nodeplugin
priorityClassName: system-node-critical priorityClassName: system-node-critical
hostNetwork: true hostNetwork: true
# to use e.g. Rook orchestrated cluster, and mons' FQDN is # to use e.g. Rook orchestrated cluster, and mons' FQDN is

View File

@ -39,7 +39,7 @@ spec:
values: values:
- csi-rbdplugin-provisioner - csi-rbdplugin-provisioner
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
serviceAccount: rbd-csi-provisioner serviceAccountName: rbd-csi-provisioner
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical
containers: containers:
- name: csi-provisioner - name: csi-provisioner

View File

@ -12,7 +12,7 @@ spec:
labels: labels:
app: csi-rbdplugin app: csi-rbdplugin
spec: spec:
serviceAccount: rbd-csi-nodeplugin serviceAccountName: rbd-csi-nodeplugin
hostNetwork: true hostNetwork: true
hostPID: true hostPID: true
priorityClassName: system-node-critical priorityClassName: system-node-critical

View File

@ -195,7 +195,7 @@ spec:
labels: labels:
app: csi-cephfsplugin app: csi-cephfsplugin
spec: spec:
serviceAccount: cephfs-csi-nodeplugin serviceAccountName: cephfs-csi-nodeplugin
``` ```
in the above template we have added `updateStrategy` and its `type` to the in the above template we have added `updateStrategy` and its `type` to the
@ -313,7 +313,7 @@ spec:
labels: labels:
app: csi-rbdplugin app: csi-rbdplugin
spec: spec:
serviceAccount: rbd-csi-nodeplugin serviceAccountName: rbd-csi-nodeplugin
``` ```
in the above template we have added `updateStrategy` and its `type` to the in the above template we have added `updateStrategy` and its `type` to the

View File

@ -119,7 +119,7 @@ spec:
metadata: metadata:
name: vault-init-job name: vault-init-job
spec: spec:
serviceAccount: rbd-csi-vault-token-review serviceAccountName: rbd-csi-vault-token-review
volumes: volumes:
- name: init-scripts-volume - name: init-scripts-volume
configMap: configMap: