Skip to content

Commit 3a5db62

Browse files
authored
Merge pull request #12180 from damdo/release-1.10-datasecretname-min-length-zero
🐛 [release-1.10] Relax minLength for bootstrap.dataSecretName to 0
2 parents bca9f0e + 9af8cc4 commit 3a5db62

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

api/v1beta1/machine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ type Bootstrap struct {
669669
// dataSecretName is the name of the secret that stores the bootstrap data script.
670670
// If nil, the Machine should remain in the Pending state.
671671
// +optional
672-
// +kubebuilder:validation:MinLength=1
672+
// +kubebuilder:validation:MinLength=0
673673
// +kubebuilder:validation:MaxLength=253
674674
DataSecretName *string `json:"dataSecretName,omitempty"`
675675
}

config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/cluster.x-k8s.io_machinepools.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/cluster.x-k8s.io_machines.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/cluster.x-k8s.io_machinesets.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)