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

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