Skip to content

Commit 523d298

Browse files
humblecxing-yang
authored andcommitted
replace deprecated serviceAccount with serviceAccountName key
Signed-off-by: Humble Chirammal <[email protected]> (cherry picked from commit 59a4882)
1 parent df8d4df commit 523d298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy/kubernetes/csi-snapshotter/setup-csi-snapshotter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ spec:
6969
labels:
7070
app: csi-snapshotter
7171
spec:
72-
serviceAccount: csi-snapshotter
72+
serviceAccountName: csi-snapshotter
7373
containers:
7474
- name: csi-provisioner
7575
image: k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0

deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
labels:
3131
app: snapshot-controller
3232
spec:
33-
serviceAccount: snapshot-controller
33+
serviceAccountName: snapshot-controller
3434
containers:
3535
- name: snapshot-controller
3636
image: gcr.io/k8s-staging-sig-storage/snapshot-controller:v5.0.1

0 commit comments

Comments
 (0)