Add helm repo;Add prereq
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
49f567dc98
commit
27e6fb0b92
14
playbook.yml
14
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"
|
||||
|
||||
|
@ -2,3 +2,5 @@ helm:
|
||||
repositories:
|
||||
- name: rancher-stable
|
||||
url: https://releases.rancher.com/server-charts/stable
|
||||
- name: jetstack
|
||||
url: https://charts.jetstack.io
|
Loading…
Reference in New Issue
Block a user