func (cluster *FlinkCluster) Default() {
	log.Info("default", "name", cluster.Name, "original", *cluster)
	_SetDefault(cluster)
	log.Info("default", "name", cluster.Name, "augmented", *cluster)
}
Default implements webhook.Defaulter so a webhook will be registered for the
type.
package v1alpha1
import (
	"k8s.io/apimachinery/pkg/runtime"
	ctrl "sigs.k8s.io/controller-runtime"
	logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
	"sigs.k8s.io/controller-runtime/pkg/webhook"
)
var log = logf.Log.WithName("webhook")
func (cluster *FlinkCluster) SetupWebhookWithManager(mgr ctrl.Manager) error {
	return ctrl.NewWebhookManagedBy(mgr).
		For(cluster).
		Complete()
}
var _ webhook.Defaulter = &FlinkCluster{}