Use new control-plane label on k8s for rook-ceph

The node-role.kubernetes.io/master label is being deprecated and is
being replaced by node-role.kubernetes.io/control-plane on k8s
1.24+

Test Plan:
PASS: Confirm that kubectl shows label
"node-role.kubernetes.io/control-plane" on node.
PASS: rook-ceph application applied on AIO-SX with k8s 1.23
PASS: rook-ceph application applied on AIO-SX with k8s 1.24

Story: 2010301
Task: 46866

Signed-off-by: Daian Cardoso Sganderlla <Daian.CardosoSganderlla@windriver.com>
Change-Id: Ic889a9e8ce2f8e106e9e380c60aed7eac93d7a92
This commit is contained in:
Daian Cardoso Sganderlla 2022-11-11 11:56:49 -05:00
parent 785265ad26
commit 813dcc2c1b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ global:
# Defines whether to generate service account and role bindings.
rbac: true
# Node Selector
nodeSelector: { node-role.kubernetes.io/master: "" }
nodeSelector: { node-role.kubernetes.io/control-plane: "" }
#
# RBAC options.