ansible / awx-operator

An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. 🤖
https://www.github.com/ansible/awx
Apache License 2.0
1.24k stars 629 forks source link

Allow for configurable image pull policy on the management pods for backup/restore #1472

Closed sirjaren closed 11 months ago

sirjaren commented 1 year ago

Please confirm the following

Feature Summary

Currently, the management-pod.yml.j2 template for both the backup and restore roles hardcode the image pull policy to Always.

This should be configurable (or least removed) to default to IfNotPresent. In lieu of an image registry, I have to modify the roles today and rebuild the AWX Operator image.

Thanks!

https://github.com/ansible/awx-operator/blob/devel/roles/backup/templates/management-pod.yml.j2 https://github.com/ansible/awx-operator/blob/devel/roles/restore/templates/management-pod.yml.j2

rooftopcellist commented 11 months ago

@sirjaren this feature was added by this PR thanks to @rakesh561!