AAP Operator 2.1.1 Does Not Add initContainers Section to Controller Deployment YAML Causing Project Sync Failure

Solution In Progress - Updated -

Issue

  • Created a secret containing custom CA certs following https://github.com/ansible/awx-operator#trusting-a-custom-certificate-authority
  • Referenced this secret in AutomationController CR like:
kind: AutomationController
.
.
.
spec:
  bundle_cacert_secret: <secret_name>
.
.
.
  • Created an AutomationController custom resource object
  • Created git Project using git server employing custom CA certs
  • Project syncs for git repos behind custom CA certs fails with this error:
  "stderr_lines": [
    "fatal: unable to access 'https://git.example.com/user/reponame.git/': error setting certificate verify locations:",
    "  CAfile: /etc/pki/tls/certs/ca-bundle.crt",
    "  CApath: none"
  ] 

Environment

  • OpenShift 4.9
  • Ansible Automation Platform 2.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content