diff --git a/apis/v1beta1/microk8sconfig_types.go b/apis/v1beta1/microk8sconfig_types.go index 782f9ec..0ae87c4 100644 --- a/apis/v1beta1/microk8sconfig_types.go +++ b/apis/v1beta1/microk8sconfig_types.go @@ -83,7 +83,7 @@ type InitConfiguration struct { // Whether or not to use the default CNI // +optional - DisableDefaultCNI bool `json:"useDefaultCNI,omitempty"` + DisableDefaultCNI bool `json:"disableDefaultCNI,omitempty"` // The snap store proxy domain // +optional diff --git a/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigs.yaml b/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigs.yaml index ec76a15..839139a 100644 --- a/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigs.yaml +++ b/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigs.yaml @@ -87,6 +87,9 @@ spec: - classic - strict type: string + disableDefaultCNI: + description: Whether or not to use the default CNI + type: boolean extraKubeletArgs: description: ExtraKubeletArgs is a list of extra arguments to add to the kubelet. @@ -177,9 +180,6 @@ spec: snapstoreProxyId: description: The snap store proxy ID type: string - useDefaultCNI: - description: Whether or not to use the default CNI - type: boolean type: object type: object status: diff --git a/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigtemplates.yaml b/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigtemplates.yaml index 149cd4d..67a9d2a 100644 --- a/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigtemplates.yaml +++ b/config/crd/bases/bootstrap.cluster.x-k8s.io_microk8sconfigtemplates.yaml @@ -95,6 +95,9 @@ spec: - classic - strict type: string + disableDefaultCNI: + description: Whether or not to use the default CNI + type: boolean extraKubeletArgs: description: ExtraKubeletArgs is a list of extra arguments to add to the kubelet. @@ -188,9 +191,6 @@ spec: snapstoreProxyId: description: The snap store proxy ID type: string - useDefaultCNI: - description: Whether or not to use the default CNI - type: boolean type: object type: object type: object