ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
137 stars 158 forks source link

`awx-ee:latest` with custom certificate in it #226

Open kazichaska opened 9 months ago

kazichaska commented 9 months ago

I have install AWX k3s on Ubuntu and they are working. I take same configuration and put the server in secure network environment and it is not working. Meaning instead of Git repo my projects are on https:// share. When I look at logs, the first time project pull I see the task going through AWX-EE container instead of my own custom-ee container even though I have it selected on project setup. So to test I put my custom certificate on awx-ee and it works. So i did pull awx-ee git repo and, added certificate and pushed to my own repository and tried to use that image and it is not working.

Error message: "msg": "Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>",

added this to registries.yaml as this docker image is local to the host mirrors: "*": endpoint:

Any suggestion/help would be very much appreciated.

Thanks --Kazi

jessicamack commented 9 months ago

Hello @kazichaska, you can modify the control plane ee. The setting is CONTROL_PLANE_EXECUTION_ENVIRONMENT. The operator also has extra_settings that can be used.