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
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: step-certificates-certs
|
name: step-certificates-certs
|
||||||
namespace: "{{ item }}"
|
namespace: "{{ item.namespace }}"
|
||||||
data:
|
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 }}"
|
kubeconfig: "{{ kubeconfig.path }}"
|
||||||
loop:
|
loop:
|
||||||
- argo-cd
|
- namespace: argo-cd
|
||||||
- kube-system
|
key: custom-ca-certificates.crt
|
||||||
|
- namespace: kube-system
|
||||||
|
key: root_ca.crt
|
||||||
|
|
||||||
- name: Configure step-ca passthrough ingress
|
- name: Configure step-ca passthrough ingress
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
@ -12,7 +12,7 @@ spec:
|
|||||||
- path: metacluster-applicationset/*
|
- path: metacluster-applicationset/*
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: {% raw %}'{{ path.basename }}'{% endraw %}
|
name: {% raw %}'{{ path.basename }}'{% endraw +%}
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
@ -22,7 +22,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git
|
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: {% raw %}'{{ path }}'{% endraw %}
|
path: {% raw %}'{{ path }}'{% endraw +%}
|
||||||
destination:
|
destination:
|
||||||
server: https://{{ vapp['guestinfo.ipaddress'] }}:6443
|
server: https://{{ vapp['guestinfo.ipaddress'] }}:6443
|
||||||
namespace: default
|
namespace: default
|
||||||
|
@ -152,8 +152,8 @@ components:
|
|||||||
controller:
|
controller:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: custom-ca-certificates
|
- name: custom-ca-certificates
|
||||||
mountPath: /etc/ssl/certs/root_ca.crt
|
mountPath: /etc/ssl/certs/custom-ca-certificates.crt
|
||||||
subPath: root_ca.crt
|
subPath: custom-ca-certificates.crt
|
||||||
volumes:
|
volumes:
|
||||||
- name: custom-ca-certificates
|
- name: custom-ca-certificates
|
||||||
secret:
|
secret:
|
||||||
@ -162,8 +162,8 @@ components:
|
|||||||
repoServer:
|
repoServer:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: custom-ca-certificates
|
- name: custom-ca-certificates
|
||||||
mountPath: /etc/ssl/certs/root_ca.crt
|
mountPath: /etc/ssl/certs/custom-ca-certificates.crt
|
||||||
subPath: root_ca.crt
|
subPath: custom-ca-certificates.crt
|
||||||
volumes:
|
volumes:
|
||||||
- name: custom-ca-certificates
|
- name: custom-ca-certificates
|
||||||
secret:
|
secret:
|
||||||
@ -178,8 +178,8 @@ components:
|
|||||||
- gitops.{{ vapp['metacluster.fqdn'] }}
|
- gitops.{{ vapp['metacluster.fqdn'] }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: custom-ca-certificates
|
- name: custom-ca-certificates
|
||||||
mountPath: /etc/ssl/certs/root_ca.crt
|
mountPath: /etc/ssl/certs/custom-ca-certificates.crt
|
||||||
subPath: root_ca.crt
|
subPath: custom-ca-certificates.crt
|
||||||
volumes:
|
volumes:
|
||||||
- name: custom-ca-certificates
|
- name: custom-ca-certificates
|
||||||
secret:
|
secret:
|
||||||
|
Loading…
Reference in New Issue
Block a user