ansible / awx-ee

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

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

Open kazichaska opened 11 months ago

kazichaska commented 11 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 11 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.