Skip to content

Commit fec5d54

Browse files
committed
changed injector raw formatting
1 parent 9cd4989 commit fec5d54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

linux/setup.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ controller_components:
1010
- inventory_sources
1111
- job_templates
1212

13+
# "!unsafe" used to pass raw jinja2 through to the injector definition, see
14+
# https://github.com/redhat-cop/controller_configuration/tree/devel/roles/credential_types#formating-injectors
1315
controller_credential_types:
1416
- name: Insights Collection
1517
kind: cloud
@@ -24,8 +26,8 @@ controller_credential_types:
2426
secret: true
2527
injectors:
2628
env:
27-
INSIGHTS_USER: "{% raw %}{ { insights_user }}{% endraw %}"
28-
INSIGHTS_PASSWORD: "{% raw %}{ { insights_password }}{% endraw %}"
29+
INSIGHTS_USER: !unsafe '{{ insights_user }}'
30+
INSIGHTS_PASSWORD: !unsafe '{{ insights_password }}'
2931

3032
controller_credentials:
3133
- name: Insights Inventory

0 commit comments

Comments
 (0)