Skip to content

Commit 0017077

Browse files
authored
Merge pull request #7025 from apricote/empty-taints
🌱 Fix empty control-plane taints example
2 parents cd4bb74 + 1b20582 commit 0017077

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

bootstrap/kubeadm/api/v1beta1/kubeadm_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ type NodeRegistrationOptions struct {
228228

229229
// Taints specifies the taints the Node API object should be registered with. If this field is unset, i.e. nil, in the `kubeadm init` process
230230
// it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an
231-
// empty slice, i.e. `taints: {}` in the YAML file. This field is solely used for Node registration.
231+
// empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration.
232232
// +optional
233233
Taints []corev1.Taint `json:"taints,omitempty"`
234234

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)