replace deprecated serviceAccount with serviceAccountName key

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2022-04-12 08:34:14 +05:30
parent f30b14f8fd
commit 59a4882df5
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ spec:
labels:
app: csi-snapshotter
spec:
serviceAccount: csi-snapshotter
serviceAccountName: csi-snapshotter
containers:
- name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0

View File

@@ -30,7 +30,7 @@ spec:
labels:
app: snapshot-controller
spec:
serviceAccount: snapshot-controller
serviceAccountName: snapshot-controller
containers:
- name: snapshot-controller
image: gcr.io/k8s-staging-sig-storage/snapshot-controller:v5.0.1