Closed nasusoba closed 1 month ago
@anmazzotti Am I missing anything for enabling default webhook? Thanks!
It may be that the controller-runtime version was bumped and the API changed while the PR was opened.
I wonder if the webhooks work at all, conversion webhooks included.
Like we implement Default()
, but the newer interface is Default(ctx context.Context, obj runtime.Object) error
I'll try to have a look today and see if I can prepare a PR.
I am using cluster api visualizer to help with debugging. But I find that after upgrading to v1beta2, the visualizer could not load the cluster. It seems that the commented line must be added to fix.
What kubeadm capi does is to introduce the default webhook to set the namespace if it does not present (ref). I tried with the default webhook(commit), but it seems that default webhook is not functioning?? Any idea??