This PR adds a new field to the MicroK8s bootstrap provider called disableDefaultCNI.
When this field is set to true, Calico will be disabled by 1. microk8s kubectl delete -f cni.yaml and 2. renaming the CNI file from cni.yaml to calico.yaml.old
The objective is to disable the default CNI on the control planes so that when workers join the default CNI is not deployed to them. The user is expected to provide a new CNI using postRunCommands.
This PR adds a new field to the MicroK8s bootstrap provider called
disableDefaultCNI
.When this field is set to true, Calico will be disabled by 1.
microk8s kubectl delete -f cni.yaml
and 2. renaming the CNI file fromcni.yaml
tocalico.yaml.old
The objective is to disable the default CNI on the control planes so that when workers join the default CNI is not deployed to them. The user is expected to provide a new CNI using postRunCommands.