Fix filename/keyname;Disable jinja trim_blocks
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
2097dec958
commit
042b9eb36f
@ -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:
|
||||
|
@ -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
|
||||
|
@ -152,8 +152,8 @@ components:
|
||||
controller:
|
||||
volumeMounts:
|
||||
- name: custom-ca-certificates
|
||||
mountPath: /etc/ssl/certs/root_ca.crt
|
||||
subPath: root_ca.crt
|
||||
mountPath: /etc/ssl/certs/custom-ca-certificates.crt
|
||||
subPath: custom-ca-certificates.crt
|
||||
volumes:
|
||||
- name: custom-ca-certificates
|
||||
secret:
|
||||
@ -162,8 +162,8 @@ components:
|
||||
repoServer:
|
||||
volumeMounts:
|
||||
- name: custom-ca-certificates
|
||||
mountPath: /etc/ssl/certs/root_ca.crt
|
||||
subPath: root_ca.crt
|
||||
mountPath: /etc/ssl/certs/custom-ca-certificates.crt
|
||||
subPath: custom-ca-certificates.crt
|
||||
volumes:
|
||||
- name: custom-ca-certificates
|
||||
secret:
|
||||
@ -178,8 +178,8 @@ components:
|
||||
- gitops.{{ vapp['metacluster.fqdn'] }}
|
||||
volumeMounts:
|
||||
- name: custom-ca-certificates
|
||||
mountPath: /etc/ssl/certs/root_ca.crt
|
||||
subPath: root_ca.crt
|
||||
mountPath: /etc/ssl/certs/custom-ca-certificates.crt
|
||||
subPath: custom-ca-certificates.crt
|
||||
volumes:
|
||||
- name: custom-ca-certificates
|
||||
secret:
|
||||
|
Loading…
Reference in New Issue
Block a user