Fix filename/keyname;Disable jinja trim_blocks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-08-29 22:43:26 +02:00
parent 2097dec958
commit 042b9eb36f
3 changed files with 14 additions and 12 deletions

View File

@ -34,13 +34,15 @@
kind: Secret
metadata:
name: step-certificates-certs
namespace: "{{ item }}"
namespace: "{{ item.namespace }}"
data:
root_ca.crt: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}"
"{{ item.key }}": "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}"
kubeconfig: "{{ kubeconfig.path }}"
loop:
- argo-cd
- kube-system
- namespace: argo-cd
key: custom-ca-certificates.crt
- namespace: kube-system
key: root_ca.crt
- name: Configure step-ca passthrough ingress
ansible.builtin.template:

View File

@ -12,7 +12,7 @@ spec:
- path: metacluster-applicationset/*
template:
metadata:
name: {% raw %}'{{ path.basename }}'{% endraw %}
name: {% raw %}'{{ path.basename }}'{% endraw +%}
spec:
project: default
syncPolicy:
@ -22,7 +22,7 @@ spec:
source:
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git
targetRevision: HEAD
path: {% raw %}'{{ path }}'{% endraw %}
path: {% raw %}'{{ path }}'{% endraw +%}
destination:
server: https://{{ vapp['guestinfo.ipaddress'] }}:6443
namespace: default