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

@@ -1901,6 +1901,15 @@ spec:
bundle_cacert_secret:
description: Secret where can be found the trusted Certificate Authority Bundle
type: string
http_proxy:
description: HTTP proxy URL to configure on AWX containers
type: string
https_proxy:
description: HTTPS proxy URL to configure on AWX containers
type: string
no_proxy:
description: Comma-separated list of hosts that bypass the proxy on AWX containers
type: string
projects_persistence:
description: Whether or not the /var/lib/projects directory will be persistent
default: false

View File

@@ -1074,6 +1074,24 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:io.kubernetes:Secret
- description: HTTP proxy URL to configure on AWX containers
displayName: HTTP Proxy
path: http_proxy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:text
- description: HTTPS proxy URL to configure on AWX containers
displayName: HTTPS Proxy
path: https_proxy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:text
- description: Comma-separated list of hosts that bypass the proxy on AWX containers
displayName: No Proxy
path: no_proxy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:text
- displayName: Nodeport Port
path: nodeport_port
x-descriptors:

View File

@@ -16,3 +16,7 @@ spec:
requests:
cpu: 50m
memory: 64M
# HTTP proxy settings (optional)
# http_proxy: "http://proxy.example.com:3128"
# https_proxy: "http://proxy.example.com:3128"
# no_proxy: "localhost,127.0.0.1,.cluster.local"