mirror of
https://github.com/ansible/awx-operator.git
synced 2026-04-04 09:43:19 +00:00
* Move label templates into `common` role So that there is single source of labels management, and labels are unified across the other roles * Introduce `additional_labels` * Fix paths for labels templates * Return `additional_labels_items` as list * Add molecule tests
14 lines
566 B
Django/Jinja
14 lines
566 B
Django/Jinja
# AWX Secret Configurations
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: '{{ ansible_operator_meta.name }}-app-credentials'
|
|
namespace: '{{ ansible_operator_meta.namespace }}'
|
|
labels:
|
|
{{ lookup("template", "../common/templates/labels/common.yaml.j2") | indent(width=4) | trim }}
|
|
data:
|
|
credentials.py: "{{ lookup('template', 'settings/credentials.py.j2') | b64encode }}"
|
|
ldap.py: "{{ lookup('template', 'settings/ldap.py.j2') | b64encode }}"
|
|
execution_environments.py: "{{ lookup('template', 'settings/execution_environments.py.j2') | b64encode }}"
|