Add labels to controlplane nodes

This commit adds new label to controlplane node so that HCO works

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I8cf3efc19bc4b78a6be04af5f28ad300990273e7
This commit is contained in:
Sreejith Punnapuzha 2021-04-09 10:05:21 -05:00
parent dd9a904fcd
commit 2c674bdb03

View File

@ -30,13 +30,13 @@ spec:
nodeRegistration:
name: '{{ ds.meta_data.local_hostname }}'
kubeletExtraArgs:
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }}'
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }},node-type=controlplane'
joinConfiguration:
controlPlane: {}
nodeRegistration:
name: '{{ ds.meta_data.local_hostname }}'
kubeletExtraArgs:
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }}'
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }},node-type=controlplane'
ntp:
servers:
- 0.pool.ntp.org