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: nodeRegistration:
name: '{{ ds.meta_data.local_hostname }}' name: '{{ ds.meta_data.local_hostname }}'
kubeletExtraArgs: kubeletExtraArgs:
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }}' node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }},node-type=controlplane'
joinConfiguration: joinConfiguration:
controlPlane: {} controlPlane: {}
nodeRegistration: nodeRegistration:
name: '{{ ds.meta_data.local_hostname }}' name: '{{ ds.meta_data.local_hostname }}'
kubeletExtraArgs: kubeletExtraArgs:
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }}' node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }},node-type=controlplane'
ntp: ntp:
servers: servers:
- 0.pool.ntp.org - 0.pool.ntp.org