fix: Incorrect linebreak in ca-bundle

This commit is contained in:
Danny Bessems 2023-08-24 10:04:38 +02:00
parent ac5d3e3668
commit 87e89cfa27
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@
vars:
manifest: "{{ item.0 }}"
src: "{{ item.1.src }}"
_newline: "\n"
_template: "{{ item.1._template }}"
loop: "{{ query('ansible.builtin.subelements', query('ansible.builtin.dict', downstream_components), 'value.extra_manifests') }}"
loop_control:

View File

@ -36,7 +36,7 @@ downstream:
issuer: https://auth.{{ vapp['metacluster.fqdn'] }}/sso
audience: "{{ vapp['workloadcluster.name'] | lower }}"
tls:
certificateAuthorityData: "{{ (stepca_cm_certs.resources[0].data['intermediate_ca.crt'] ~ '\n' ~ stepca_cm_certs.resources[0].data['root_ca.crt']) | b64encode }}"
certificateAuthorityData: "{{ (stepca_cm_certs.resources[0].data['intermediate_ca.crt'] ~ _newline ~ stepca_cm_certs.resources[0].data['root_ca.crt']) | b64encode }}"
sealed-secrets:
version: 2.8.1 # (= Sealed Secrets v0.20.2)