diff --git a/playbook.yml b/playbook.yml index 80c72ad..e07a12d 100644 --- a/playbook.yml +++ b/playbook.yml @@ -202,6 +202,7 @@ kubernetes.core.helm_repository: name: "{{ item.name }}" repo_url: "{{ item.url }}" + no_log: true loop: "{{ helm.repositories }}" - block: @@ -212,17 +213,22 @@ return_content: yes register: latest_release - - name: Rancher Fleet -- Install Helm chart + - name: Rancher Fleet -- Install Helm chart w/ prereqs kubernetes.core.helm: name: "{{ item.name }}" - chart_ref: "{{ item.url }}" + chart_ref: "{{ item.ref }}" namespace: fleet-system create_namespace: yes wait: yes kubeconfig: "{{ kubeconfig.path }}" + values: "{{ item.values | default('omit', true) }}" loop: + - name: cert-manager + ref: jetstack/cert-manager + values: + installCRDs: true - name: fleet-crd - url: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-crd-{{ latest_release.json.tag_name[1:] }}.tgz" + ref: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-crd-{{ latest_release.json.tag_name[1:] }}.tgz" - name: fleet - url: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-{{ latest_release.json.tag_name[1:] }}.tgz" + ref: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-{{ latest_release.json.tag_name[1:] }}.tgz" diff --git a/vars/applications.k3s.yml b/vars/applications.k3s.yml index af51fae..02d15f2 100644 --- a/vars/applications.k3s.yml +++ b/vars/applications.k3s.yml @@ -1,4 +1,6 @@ helm: repositories: - name: rancher-stable - url: https://releases.rancher.com/server-charts/stable \ No newline at end of file + url: https://releases.rancher.com/server-charts/stable + - name: jetstack + url: https://charts.jetstack.io \ No newline at end of file