getporter / operator

The Porter Operator gives you a native, integrated experience for managing your bundles from Kubernetes. It is the recommended way to automate your bundle pipeline with support for GitOps.
https://porter.sh/operator
Apache License 2.0
31 stars 19 forks source link

Add make (mage) targets for controller-gen and kustomize #243

Open troy0820 opened 1 year ago

troy0820 commented 1 year ago

Is your feature request related to a problem? Please describe.

Make targets that come bundle with kubebuilder/operator-framework allow the crds/manifests to be generated when changes are made to the crds, etc. Having this as mage targets will allow the pipeline to vet that the crds matches what is described in the api/v1 layer.

Describe the solution you'd like

Describe alternatives you've considered This used to be in the repo but was removed for some reason

Additional context None

troy0820 commented 1 year ago

potential targets:

troy0820 commented 1 year ago

controller-gen is there EnsureControllerGen() kustomize is there EnsureKustomize()