Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/addons/v1beta2/clusterresourceset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ type ClusterResourceSetStatus struct {

// observedGeneration reflects the generation of the most recently observed ClusterResourceSet.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
Expand Down
1 change: 1 addition & 0 deletions api/bootstrap/kubeadm/v1beta2/kubeadm_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ type APIEndpoint struct {
// bindPort sets the secure port for the API Server to bind to.
// Defaults to 6443.
// +optional
// +kubebuilder:validation:Minimum=1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the 0 value for bind would mean random port and wouldn't be appropriate here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly!

Copy link
Member Author

@sbueringer sbueringer Jun 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically if it even works APIserver would bind on a random port (InitConfiguration) and then the later Nodes would try to join on a random port (JoinConfiguration)

BindPort int32 `json:"bindPort,omitempty"`
}

Expand Down
1 change: 1 addition & 0 deletions api/bootstrap/kubeadm/v1beta2/kubeadmconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ type KubeadmConfigStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ type KubeadmControlPlaneStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// lastRemediation stores info about last remediation performed.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ type ClusterStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/clusterclass_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ type ClusterClassStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ type MachineStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deletion contains information relating to removal of the Machine.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/machinedeployment_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ type MachineDeploymentStatus struct {

// observedGeneration is the generation observed by the deployment controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// selector is the same as the label selector but in the string format to avoid introspection
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/machinehealthcheck_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ type MachineHealthCheckStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// targets shows the current list of machines the machine health check is watching
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/machinepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ type MachinePoolStatus struct {

// observedGeneration is the latest generation observed by the controller.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1beta2/machineset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ type MachineSetStatus struct {

// observedGeneration reflects the generation of the most recently observed MachineSet.
// +optional
// +kubebuilder:validation:Minimum=1
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_clusterclasses.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_clusters.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_machinehealthchecks.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_machinepools.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_machines.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/crd/bases/cluster.x-k8s.io_machinesets.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.