Add missing key;Add traefik ssh entrypoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-14 10:33:26 +02:00
parent 0263b2dfc4
commit 39cc83ac57
4 changed files with 32 additions and 4 deletions

View File

@ -4,8 +4,17 @@
state: directory
loop:
- /var/lib/rancher/k3s/agent/images
- /var/lib/rancher/k3s/server/manifests
- /opt/metacluster/k3s
- name: Inject manifests
ansible.builtin.template:
src: helmchartconfig.j2
dest: /var/lib/rancher/k3s/server/manifests/{{ item.name }}_config.yml
loop: "{{ platform.packaged_components }}"
loop_control:
label: "{{ item.name }}"
- name: Download & install K3s binary
ansible.builtin.get_url:
url: https://github.com/k3s-io/k3s/releases/download/{{ platform.k3s.version }}/k3s

View File

@ -0,0 +1,8 @@
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: {{ item.name }}
namespace: {{ item.namespace }}
spec:
valuesContent: |-
{{ item.config }}