mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
kubeadm: allow passing the --patches flag to init/join/node phases
Allow passing the --patches flag to init/join/node phases relevant to the kubelet writing the config file on disk.
This commit is contained in:
parent
428c3fe954
commit
2134026e3b
@ -48,6 +48,7 @@ func NewKubeletStartPhase() workflow.Phase {
|
||||
options.CfgPath,
|
||||
options.NodeCRISocket,
|
||||
options.NodeName,
|
||||
options.Patches,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -76,6 +76,7 @@ func NewKubeletStartPhase() workflow.Phase {
|
||||
options.TokenDiscoverySkipCAHash,
|
||||
options.TLSBootstrapToken,
|
||||
options.TokenStr,
|
||||
options.Patches,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -48,6 +48,7 @@ func NewKubeletConfigPhase() workflow.Phase {
|
||||
InheritFlags: []string{
|
||||
options.DryRun,
|
||||
options.KubeconfigPath,
|
||||
options.Patches,
|
||||
},
|
||||
}
|
||||
return phase
|
||||
|
Loading…
Reference in New Issue
Block a user