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:
jamesmarshall24
2026-04-29 11:22:17 -04:00
committed by GitHub
parent 9c3f521514
commit 7745848ba5
8 changed files with 90 additions and 0 deletions

View File

@@ -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: