Closed andrin55 closed 3 years ago
I'm also experiencing this with:
AWX version: 19.3.0
Operator version: 0.13.0
My current workaround is to create a custom EE where the certificate gets imported, but if this would work like with the core containers, this would help a lot!
ISSUE TYPE
SUMMARY
bundle-ca.crt is missing from /etc/pki/ca-trust/source/anchors/ in automation-job worker container. Therefore custom certificates are missing for the ansible modules. Custom certificates are working for the LDAP logon and GIT clone on AWX WebUI but not working using git module in a playbook task delegated to localhost.
ENVIRONMENT
STEPS TO REPRODUCE
Add custom certificates:
kubectl create secret generic awx-custom-certs --from-file=ldap-ca.crt=/root/example-ldap.crt --from-file=bundle-ca.crt=/root/example-ca-bundle.crt
Specify the certificates in the awx definition:
Check installed ca bundles via locally run ansible task within a playbook:
EXPECTED RESULTS
Custom installed certificate should be listed in stdout.
ACTUAL RESULTS
Custom certificates are missing.
ADDITIONAL INFORMATION
Custom certificates are present in all other AWX containers:
Whereas in the automation job worker container, the file is missing: