You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet whenever the globally available EE is launched, I do not see MYCUSTOMVAR populated in the pod spec - the environment is blank.
Is this expected? I cannot seem to find a way to have the AWX crd pass environment variables to the globally available EE's.
I do see the config when I do k get awxs -o yaml, and as a test I set ee_extra_volume_mounts with no extra_volumes and things still worked - suggesting this isn't getting passed to the container at all.
@rsdoherty
Hi, this is expected. The globally available EE means that awx-ee container in awx-task pod, which does not mean the EE for your automation job.
If you want to pass environment variables to your automation job pod, use Extra Environment Variables in Settings > Job settings on the Web GUI, or pass AWX_TASK_ENV to your AWX CR by extra_settings or extra_settings_files.
We now plan to close this issue because it is no longer relevant to the code in this repository. If you think the issue is still valid and needs to be fixed, please recreate it in the ansible/awx-operator-helm repository.
Please confirm the following
Bug Summary
I've just deployed a very basic AWX install via helm, and I have this as my spec:
Yet whenever the globally available EE is launched, I do not see MYCUSTOMVAR populated in the pod spec - the environment is blank.
Is this expected? I cannot seem to find a way to have the AWX crd pass environment variables to the globally available EE's.
I do see the config when I do
k get awxs -o yaml
, and as a test I setee_extra_volume_mounts
with noextra_volumes
and things still worked - suggesting this isn't getting passed to the container at all.AWX Operator version
2.19.1
AWX version
24.6.1
Kubernetes platform
kubernetes
Kubernetes/Platform version
1.29.7
Modifications
no
Steps to reproduce
Expected results
Environment variables show in globally available EE as expected
Actual results
Container starts with no environment set
Additional information
No response
Operator Logs
No response
The text was updated successfully, but these errors were encountered: