eda_credentials.yml.j2
The file is mandatory for a correct run of the pipeline.
As an example two credentials are hashed out.
---
{% set curr_env=curr_file.split(',')[0] %}
eda_credentials_{{ curr_env }}: []
# - name: EDA_controller
# description: Dev controller credential
# credential_type: Red Hat Ansible Automation Platform
# organization: ORG_EDA
# inputs:
# username: <user>
# password: <passwd>
# request_timeout: '10'
# host: 'https://{{ aap_env[curr_env]['rhaap_hostname'] }}/api/controller/'
# verify_ssl: true/false
# - name: EDA_de_image_pull_secret
# description: Image pull secret
# credential_type: Container Registry
# organization: ORG_EDA
# inputs:
# host: {{ aap_env[curr_env]['rhaap_hostname'] }}
# username: <user>
# password: <paswd>
# verify_ssl: true/false
...
The files
In the dev folder the resulting file will have the following content:
eda_credentials_dev: []
# - name: EDA_controller
# description: Dev controller credential
# credential_type: Red Hat Ansible Automation Platform
# organization: ORG_EDA
# inputs:
# username: <user>
# password: <passwd>
# request_timeout: '10'
# host: 'https://rhaap_dev.homelab/api/controller/'
# verify_ssl: true/false
# - name: EDA_de_image_pull_secret
# description: Image pull secret
# credential_type: Container Registry
# organization: ORG_EDA
# inputs:
# host: rhaap_dev.homelab
# username: <user>
# password: <paswd>
# verify_ssl: true/false
...