You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// BindPort sets the secure port for the API Server to bind to.
194
194
// Defaults to 6443.
195
-
BindPortint32`json:"bindPort"`
195
+
BindPortint32`json:"bindPort,omitempty"`
196
196
}
197
197
198
198
// NodeRegistrationOptions holds fields that relate to registering a new control-plane or node to the cluster, either via "kubeadm init" or "kubeadm join"
@@ -209,7 +209,7 @@ type NodeRegistrationOptions struct {
209
209
// 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
210
210
// 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
211
211
// empty slice, i.e. `taints: {}` in the YAML file. This field is solely used for Node registration.
212
-
Taints []v1.Taint`json:"taints,omitempty"`
212
+
Taints []v1.Taint`json:"taints"`
213
213
214
214
// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file
215
215
// kubeadm writes at runtime for the kubelet to source. This overrides the generic base-level configuration in the kubelet-config-1.X ConfigMap
@@ -220,11 +220,11 @@ type NodeRegistrationOptions struct {
220
220
// Networking contains elements describing cluster's networking configuration
221
221
typeNetworkingstruct {
222
222
// ServiceSubnet is the subnet used by k8s services. Defaults to "10.96.0.0/12".
0 commit comments