Skip to content

Commit a8e4187

Browse files
authored
Merge pull request #12222 from networkhell/pr-increase-ingition-config-limit
🐛 increase ignition additionalConfig maxSize from 10 to 32 KB
2 parents 56c66a0 + 38e12e1 commit a8e4187

6 files changed

+10
-10
lines changed

bootstrap/kubeadm/api/v1beta1/kubeadmconfig_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ type ContainerLinuxConfig struct {
442442
// The data format is documented here: https://kinvolk.io/docs/flatcar-container-linux/latest/provisioning/cl-config/
443443
// +optional
444444
// +kubebuilder:validation:MinLength=1
445-
// +kubebuilder:validation:MaxLength=10240
445+
// +kubebuilder:validation:MaxLength=32768
446446
AdditionalConfig string `json:"additionalConfig,omitempty"`
447447

448448
// strict controls if AdditionalConfig should be strictly parsed. If so, warnings are treated as errors.

bootstrap/kubeadm/api/v1beta2/kubeadmconfig_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ type ContainerLinuxConfig struct {
416416
// The data format is documented here: https://kinvolk.io/docs/flatcar-container-linux/latest/provisioning/cl-config/
417417
// +optional
418418
// +kubebuilder:validation:MinLength=1
419-
// +kubebuilder:validation:MaxLength=10240
419+
// +kubebuilder:validation:MaxLength=32768
420420
AdditionalConfig string `json:"additionalConfig,omitempty"`
421421

422422
// strict controls if AdditionalConfig should be strictly parsed. If so, warnings are treated as errors.

bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigs.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigtemplates.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanes.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanetemplates.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)