func (f *Kustomization) GetMarkers() []machinery.Marker {
	return []machinery.Marker{
		machinery.NewMarkerFor(f.Path, resourceMarker),
	}
}
GetMarkers implements machinery.Inserter
package crd
import (
	"fmt"
	"path/filepath"
	"sigs.k8s.io/kubebuilder/v3/pkg/machinery"
)
var (
	_ machinery.Template = &Kustomization{}
	_ machinery.Inserter = &Kustomization{}
)
type Kustomization struct {
	machinery.TemplateMixin
	machinery.ResourceMixin
}
func (f *Kustomization) SetTemplateDefaults() error {
	if f.Path == "" {
		f.Path = filepath.Join("config", "crd", "kustomization.yaml")
	}
	f.TemplateBody = fmt.Sprintf(kustomizationTemplate, machinery.NewMarkerFor(f.Path, resourceMarker))
	return nil
}
const (
	resourceMarker = "crdkustomizeresource"
)