kubernetes.core
kubernetes.core copied to clipboard
kustomize lookup plugin: build_flags
Allow setting a string of optional build_flags at the end of the command.
SUMMARY
A string to add some params/options to the end of "kustomize build dir" / "kubectl kustomize dir" command. This could have been a list, or some other grandiose parsing event, I haven't put much thought into other use-cases.
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
kustomize lookup plugin
ADDITIONAL INFORMATION
It feels like a one-off kind of thing, where I just need to add "--enable-alpha-plugins" at the end. Maybe someone else will end up in a similar predicament later down the line, and be relieved that they can just build_flags="--all-my great --build-options are-available --yay".
@eb4x Thanks for taking the time to contribute to this repo. You need to add a changelog for this feature, additionally could you please update the corresponding tests located here ? https://github.com/ansible-collections/kubernetes.core/blob/main/molecule/default/tasks/lookup_kustomize.yml