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