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

@@ -459,6 +459,14 @@ ldap_password_secret: ''
# Secret to lookup that provides the custom CA trusted bundle
bundle_cacert_secret: ''
# Proxy environment variables for AWX containers.
# Defaults inherit from the operator pod environment (e.g. set by the OCP cluster
# proxy object). Set these fields in the CR spec to override the inherited values
# per instance.
http_proxy: "{{ lookup('env', 'http_proxy') or lookup('env', 'HTTP_PROXY') or '' }}"
https_proxy: "{{ lookup('env', 'https_proxy') or lookup('env', 'HTTPS_PROXY') or '' }}"
no_proxy: "{{ lookup('env', 'no_proxy') or lookup('env', 'NO_PROXY') or '' }}"
# Set false for basic install without operator
update_status: true