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