fix: Inject line break in ca-bundle through variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
17ad64013a
commit
2c5e8e10b5
@ -109,6 +109,7 @@
|
||||
state: present
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
vars:
|
||||
_newline: "\n"
|
||||
_template:
|
||||
name: "{{ item.name }}"
|
||||
namespace: "{{ item.namespace }}"
|
||||
@ -122,7 +123,7 @@
|
||||
spec: |2
|
||||
issuer: https://idps.{{ vapp['metacluster.fqdn'] }}
|
||||
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 }}"
|
||||
authorizationConfig:
|
||||
additionalScopes: [offline_access, groups, email]
|
||||
allowPasswordGrant: false
|
||||
|
@ -34,7 +34,7 @@ downstream:
|
||||
name: metacluster-sso
|
||||
spec: !unsafe |2
|
||||
issuer: https://auth.{{ vapp['metacluster.fqdn'] }}/sso
|
||||
audience: {{ vapp['workloadcluster.name'] | lower }}
|
||||
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 }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user