Add way to specify kubeadm's --ignore-preflight-errors in InitConfiguration and JoinConfiguration #1460
Labels
kind/api-change
Categorizes issue or PR as related to adding, removing, or otherwise changing an API
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
sig/cluster-lifecycle
Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Milestone
What would you like to be added:
A single way to configure all of
kubeadm
's behaviour.In particular, given
ignorePreflightErrors
andexternalcfg
are currently disjoint:I would like a way to specify the set of strings corresponding to
--ignore-preflight-errors
's value as an "array" in (at least)InitConfiguration
andJoinConfiguration
.Why is this needed:
This would simplify programmatic usage of
kubeadm
: one configuration file to generate, and then pass tokubeadm
.Potential way forward:
Keep
--ignore-preflight-errors
for backward-compatibility (for now).Add the following field to both
InitConfiguration
andJoinConfiguration
:Take the union of both sets, validate it (as currently done), and use this going in the rest of the program.
Misc.:
Happy to make the change myself, once I get a "go" (or at least, no "no-go") from someone more knowledgeable. (Maybe @luxas? 🙂 )
/kind feature
/sig cluster-lifecycle
The text was updated successfully, but these errors were encountered: