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
The Kubebuilder Book includes a tutorial on setting up a manager to use a custom config file, e.g. volume-mounted from a config map. As part of this tutorial, it is suggested to run
If the config file does not provide any configuration for leader election (which should be OK, since the element is optional in the config type), you'll get a nilref panic in setLeaderElectionConfig, since obj.LeaderElection == nil.
The text was updated successfully, but these errors were encountered:
The Kubebuilder Book includes a tutorial on setting up a manager to use a custom config file, e.g. volume-mounted from a config map. As part of this tutorial, it is suggested to run
where
MyCustomConfigType
is defined something like this:If the config file does not provide any configuration for leader election (which should be OK, since the element is optional in the config type), you'll get a nilref panic in
setLeaderElectionConfig
, sinceobj.LeaderElection == nil
.The text was updated successfully, but these errors were encountered: