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
out.ExtraEnvs=*(*[]EnvVar)(unsafe.Pointer(&in.ExtraEnvs)) //nolint:gosec // copied over from generated code, fuzzer should detect if we run into issues
out.ExtraEnvs=*(*[]EnvVar)(unsafe.Pointer(&in.ExtraEnvs)) //nolint:gosec // copied over from generated code, fuzzer should detect if we run into issues
out.ExtraEnvs=*(*[]EnvVar)(unsafe.Pointer(&in.ExtraEnvs)) //nolint:gosec // copied over from generated code, fuzzer should detect if we run into issues
out.ExtraEnvs=*(*[]bootstrapv1.EnvVar)(unsafe.Pointer(&in.ExtraEnvs)) //nolint:gosec // copied over from generated code, fuzzer should detect if we run into issues
out.ExtraEnvs=*(*[]bootstrapv1.EnvVar)(unsafe.Pointer(&in.ExtraEnvs)) //nolint:gosec // copied over from generated code, fuzzer should detect if we run into issues
out.ExtraEnvs=*(*[]bootstrapv1.EnvVar)(unsafe.Pointer(&in.ExtraEnvs)) //nolint:gosec // copied over from generated code, fuzzer should detect if we run into issues
// extraEnvs is an extra set of environment variables to pass to the control plane component.
241
+
// Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default.
242
+
// This option takes effect only on Kubernetes >=1.31.0.
243
+
// +optional
244
+
// +kubebuilder:validation:MaxItems=100
245
+
ExtraEnvs []EnvVar`json:"extraEnvs,omitempty"`
229
246
}
230
247
231
248
// Scheduler holds settings necessary for scheduler deployments in the cluster.
232
249
// +kubebuilder:validation:MinProperties=1
233
250
typeSchedulerstruct {
234
-
ControlPlaneComponent`json:",inline"`
251
+
// extraArgs is a list of args to pass to the control plane component.
252
+
// The arg name must match the command line flag name except without leading dash(es).
253
+
// Extra arguments will override existing default arguments set by kubeadm.
254
+
// +optional
255
+
// +listType=map
256
+
// +listMapKey=name
257
+
// +listMapKey=value
258
+
// +kubebuilder:validation:MinItems=1
259
+
// +kubebuilder:validation:MaxItems=100
260
+
// +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, x.name == y.name))",message="extraArgs name must be unique"
261
+
ExtraArgs []Arg`json:"extraArgs,omitempty"`
262
+
263
+
// extraVolumes is an extra set of host volumes, mounted to the control plane component.
// extraEnvs is an extra set of environment variables to pass to the control plane component.
269
+
// Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default.
270
+
// This option takes effect only on Kubernetes >=1.31.0.
271
+
// +optional
272
+
// +kubebuilder:validation:MaxItems=100
273
+
ExtraEnvs []EnvVar`json:"extraEnvs,omitempty"`
235
274
}
236
275
237
276
// DNS defines the DNS addon that should be used in the cluster.
0 commit comments