mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +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.CfgPath,
|
||||||
options.NodeCRISocket,
|
options.NodeCRISocket,
|
||||||
options.NodeName,
|
options.NodeName,
|
||||||
|
options.Patches,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -76,6 +76,7 @@ func NewKubeletStartPhase() workflow.Phase {
|
|||||||
options.TokenDiscoverySkipCAHash,
|
options.TokenDiscoverySkipCAHash,
|
||||||
options.TLSBootstrapToken,
|
options.TLSBootstrapToken,
|
||||||
options.TokenStr,
|
options.TokenStr,
|
||||||
|
options.Patches,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,7 @@ func NewKubeletConfigPhase() workflow.Phase {
|
|||||||
InheritFlags: []string{
|
InheritFlags: []string{
|
||||||
options.DryRun,
|
options.DryRun,
|
||||||
options.KubeconfigPath,
|
options.KubeconfigPath,
|
||||||
|
options.Patches,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return phase
|
return phase
|
||||||
|
Loading…
Reference in New Issue
Block a user