This commit is contained in:
parent
e1b57cfdea
commit
7d837a1711
@ -143,14 +143,15 @@
|
|||||||
- name: Inject step-ca certificate into traefik container
|
- name: Inject step-ca certificate into traefik container
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /var/lib/rancher/k3s/server/manifests/traefik-config.yaml
|
path: /var/lib/rancher/k3s/server/manifests/traefik-config.yaml
|
||||||
block: |
|
block: |2
|
||||||
volumes:
|
volumes:
|
||||||
- name: step-certificates-certs
|
- name: step-certificates-certs
|
||||||
mountPath: /step-ca
|
mountPath: /step-ca
|
||||||
type: configMap
|
type: configMap
|
||||||
env:
|
env:
|
||||||
- name: LEGO_CA_CERTIFICATES
|
- name: LEGO_CA_CERTIFICATES
|
||||||
value: /step-ca/root_ca.crt
|
value: /step-ca/root_ca.crt
|
||||||
|
marker: ' # {mark} ANSIBLE MANAGED BLOCK'
|
||||||
notify:
|
notify:
|
||||||
- Apply manifests
|
- Apply manifests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user