mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Merge pull request #86070 from rosti/kubeadm-cc-user-configs-checksum-a
kubeadm: distinguish between generated and user supplied component configs
This commit is contained in:
@@ -445,6 +445,12 @@ type ComponentConfig interface {
|
||||
|
||||
// Default patches the component config with kubeadm preferred defaults
|
||||
Default(cfg *ClusterConfiguration, localAPIEndpoint *APIEndpoint, nodeRegOpts *NodeRegistrationOptions)
|
||||
|
||||
// IsUserSupplied indicates if the component config was supplied or modified by a user or was kubeadm generated
|
||||
IsUserSupplied() bool
|
||||
|
||||
// SetUserSupplied sets the state of the component config "user supplied" flag to, either true, or false.
|
||||
SetUserSupplied(userSupplied bool)
|
||||
}
|
||||
|
||||
// ComponentConfigMap is a map between a group name (as in GVK group) and a ComponentConfig
|
||||
|
Reference in New Issue
Block a user