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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user