kustomize
kustomize copied to clipboard
kustomize create should add config.kubernetes.io/local-config annotation
Eschewed features
- [X] This issue is not requesting templating, unstuctured edits, build-time side-effects from args or env vars, or any other eschewed feature.
What would you like to have added?
The kustomize docs recommend that kustomization.yaml (and things like transformer configs) should have
metadata:
annotations:
config.kubernetes.io/local-config: "true"
but kustomize create does not add this itself.
Why is this needed?
see kustomize help docs-io-annotations
Can you accomplish the motivating task without this feature, and if so, how?
Yes, just patch the created resource with yq, or generate the kustomization manually.
What other solutions have you considered?
Not adding it, it's not (yet) vital
Anything else we should know?
No response
Feature ownership
- [ ] I am interested in contributing this feature myself! 🎉
/triage accepted
This issue has not been updated in over 1 year, and should be re-triaged.
You can:
- Confirm that this issue is still relevant with
/triage accepted(org members only) - Close this issue with
/close
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
/remove-triage accepted