Closed majst01 closed 2 weeks ago
Shouldn't this line already take care of that? https://github.com/metal-stack/gardener-extension-provider-metal/blob/master/pkg/admission/mutator/defaulter.go#L100
no because it is not set in the config, e.g. nil
What config? The defaulter config uses calico as a fallback
func (c *config) networkType() string {
return c.string("DEFAULTER_NETWORKTYPE", "calico")
}
You are right, no idea why this did not work ?
Closing because the webhook was not running properly which caused this error
We should default to
calico
if not already set