diff --git a/api/v1alpha1/tenantcontrolplane_types.go b/api/v1alpha1/tenantcontrolplane_types.go index 287c56f..af6cec6 100644 --- a/api/v1alpha1/tenantcontrolplane_types.go +++ b/api/v1alpha1/tenantcontrolplane_types.go @@ -67,8 +67,8 @@ const ( type KubeletSpec struct { // Ordered list of the preferred NodeAddressTypes to use for kubelet connections. - // Default to Hostname, InternalIP, ExternalIP. - //+kubebuilder:default={"Hostname","InternalIP","ExternalIP"} + // Default to InternalIP, ExternalIP, Hostname. + //+kubebuilder:default={"InternalIP","ExternalIP","Hostname"} //+kubebuilder:validation:MinItems=1 //+listType=set PreferredAddressTypes []KubeletPreferredAddressType `json:"preferredAddressTypes,omitempty"` diff --git a/charts/kamaji/crds/kamaji.clastix.io_tenantcontrolplanes.yaml b/charts/kamaji/crds/kamaji.clastix.io_tenantcontrolplanes.yaml index 7daeb97..15b8c43 100644 --- a/charts/kamaji/crds/kamaji.clastix.io_tenantcontrolplanes.yaml +++ b/charts/kamaji/crds/kamaji.clastix.io_tenantcontrolplanes.yaml @@ -6547,12 +6547,12 @@ spec: type: string preferredAddressTypes: default: - - Hostname - InternalIP - ExternalIP + - Hostname description: |- Ordered list of the preferred NodeAddressTypes to use for kubelet connections. - Default to Hostname, InternalIP, ExternalIP. + Default to InternalIP, ExternalIP, Hostname. items: enum: - Hostname diff --git a/docs/content/reference/api.md b/docs/content/reference/api.md index e3a180f..cc66442 100644 --- a/docs/content/reference/api.md +++ b/docs/content/reference/api.md @@ -39470,10 +39470,10 @@ https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-dri []enum Ordered list of the preferred NodeAddressTypes to use for kubelet connections. -Default to Hostname, InternalIP, ExternalIP.
+Default to InternalIP, ExternalIP, Hostname.

Enum: Hostname, InternalIP, ExternalIP, InternalDNS, ExternalDNS
- Default: [Hostname InternalIP ExternalIP]
+ Default: [InternalIP ExternalIP Hostname]
false