-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Automatic creation for kustomization.yaml var section and varReference #1216
Comments
ack, will circulate - |
@monopole @Liujingfang1 @ian-howell
|
Is there any plan to merge this PR? That's a really valuable feature. |
If not a merge, some confirmation that this feature is out of scope or otherwise undesirable to the kustomize team would be useful for folks who are presently depending on the fork that adds it. At the moment I'm perhaps foolishly depending on/socializing this feature with my team (with fingers crossed it will someday appear in kubectl proper). I'm sensitive to the fact that my needs are far from a driving motivation in the development of this free software (thank you, by the way!) but it seems worth sharing if it might help nudge a review of this functionality into being. |
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. |
Stale issues rot after 30d 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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
this closed a year ago, is there some other functionality that replaces it? cc @monopole ? |
Creating the entries in the var section can be a quite long process if the number of variable increases and get the kustomization.yaml hard to read:
For instance:
On the varReference side of the process, the process make complicated very quickly:
For K8s standard objects (if not part of the default configuration)
or
For CRD:
This proposal aims at the automatic creation of the var and varReference section by simply scanning for the resources:
If we take the following example:
we can conclude that we need to create the following varReference
and the following var
By adding turning on the autoconfig feature, the user would only have to create the entries for which the detection process would have failed.
The text was updated successfully, but these errors were encountered: