mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 05:42:55 +00:00
feat: add proxy env var support for AWX containers (#2113)
Add http_proxy, https_proxy, and no_proxy CRD fields to the AWX spec and inject them into all application containers via a shared proxy-env ConfigMap, with automatic rollouts when proxy values change. Assisted by: Claude Signed-off-by: James Marshall <jamarsha@redhat.com>
This commit is contained in:
@@ -50,6 +50,12 @@
|
||||
definition: "{{ lookup('template', 'configmaps/redirect-page.configmap.html.j2') }}"
|
||||
when: public_base_url is defined
|
||||
|
||||
- name: Apply proxy environment ConfigMap
|
||||
k8s:
|
||||
apply: true
|
||||
definition: "{{ lookup('template', 'configmaps/proxy-env.configmap.yaml.j2') }}"
|
||||
state: "{{ 'present' if (http_proxy or https_proxy or no_proxy) else 'absent' }}"
|
||||
|
||||
- name: Load LDAP CAcert certificate (Deprecated)
|
||||
include_tasks: load_ldap_cacert_secret.yml
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user