mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-09-27 23:45:17 +00:00
HA working with k0s too
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
@@ -260,6 +260,11 @@ func (k *K3sWorker) Args() ([]string, error) {
|
||||
return args, nil
|
||||
}
|
||||
|
||||
func (k *K3sControlPlane) SetupHAToken() error {
|
||||
// K3s doesn't need a token for HA, it uses the node-token
|
||||
return nil
|
||||
}
|
||||
|
||||
func (k *K3sWorker) SetupWorker(controlPlaneIP, nodeToken string) error {
|
||||
pconfig := k.ProviderConfig()
|
||||
|
||||
|
Reference in New Issue
Block a user