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: labels:
app: csi-snapshotter app: csi-snapshotter
spec: spec:
serviceAccount: csi-snapshotter serviceAccountName: csi-snapshotter
containers: containers:
- name: csi-provisioner - name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0 image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0

View File

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