func (f *KustomizeConfig) SetTemplateDefaults() error {
	if f.Path == "" {
		f.Path = filepath.Join("config", "webhook", "kustomizeconfig.yaml")
	}
	f.TemplateBody = kustomizeConfigWebhookTemplate
	f.IfExistsAction = machinery.SkipFile
	return nil
}
SetTemplateDefaults implements file.Template
package webhook
import (
	"path/filepath"
	"sigs.k8s.io/kubebuilder/v3/pkg/machinery"
)
var _ machinery.Template = &KustomizeConfig{}
type KustomizeConfig struct {
	machinery.TemplateMixin
}