mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 00:00:23 +00:00
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:
parent
c4856195a2
commit
1b0ebc43d4
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user