-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kustomize support for config/samples #1573
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Just a note: #1831 approach may be also considered |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/lifecycle frozen Since this has label |
It should be done in the kustomize/v2-alpha plugin. |
@estroz I unassigned this one since we have no longer with and others might able to help with this one. |
/assign |
What do you want to happen?
When I run
kubebuilder create api
, a sample CR gets created inconfig/samples
. I'm wondering if there is any appetite forconfig/samples
to be a valid kustomize directory, such that one could runkustomize build config/samples
to get kubectl-appliable yaml.If we were to add such a feature, I think we would add a scaffold that supports updates via a marker such that
kubebuilder create api
would append the new sample file to theresources
list inconfig/samples/kustomization.yaml
.Use cases:
make deploy
, I want to be able to quickly spin up a sample set of CRs usingkustomize build config/samples | kubectl apply -f -
config/default
andconfig/samples
is useful.config/crd
andconfig/samples
.Is there currently another issue associated with this?
Not that I could find.
Does it require a particular kubernetes version? No
/kind feature
The text was updated successfully, but these errors were encountered: