-
Notifications
You must be signed in to change notification settings - Fork 629
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
[PoC] using kustomize to provide flexible override to awx deployments #1695
base: devel
Are you sure you want to change the base?
Conversation
I am interested in this but I don't know if using kustomize is the best way to achieve overriding. |
Thanks for implementing this, I have not tested well but by using kustomize like your PR it's hard to add custom env to specific container for example. I'm considering to use |
My idea: #1697 |
Ah ignore my comment due to lack of my understanding 😞 So this PR is enough for most use-cases I think. It should be better if we can define |
- "web_override" | ||
|
||
- name: Run kustomize build on task deployment and store in deployments.yaml | ||
command: kustomize build {{ _deployment_kustomize_dir.path }} -o {{ _deployment_kustomize_dir.path }}/deployments.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use kubernetes.core.kustomize
lookup instead.
https://docs.ansible.com/ansible/latest/collections/kubernetes/core/kustomize_lookup.html
SUMMARY
example
ISSUE TYPE
ADDITIONAL INFORMATION