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:
|
kubernetes.core.helm_repository:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
repo_url: "{{ item.url }}"
|
repo_url: "{{ item.url }}"
|
||||||
|
no_log: true
|
||||||
loop: "{{ helm.repositories }}"
|
loop: "{{ helm.repositories }}"
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
@ -212,17 +213,22 @@
|
|||||||
return_content: yes
|
return_content: yes
|
||||||
register: latest_release
|
register: latest_release
|
||||||
|
|
||||||
- name: Rancher Fleet -- Install Helm chart
|
- name: Rancher Fleet -- Install Helm chart w/ prereqs
|
||||||
kubernetes.core.helm:
|
kubernetes.core.helm:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
chart_ref: "{{ item.url }}"
|
chart_ref: "{{ item.ref }}"
|
||||||
namespace: fleet-system
|
namespace: fleet-system
|
||||||
create_namespace: yes
|
create_namespace: yes
|
||||||
wait: yes
|
wait: yes
|
||||||
kubeconfig: "{{ kubeconfig.path }}"
|
kubeconfig: "{{ kubeconfig.path }}"
|
||||||
|
values: "{{ item.values | default('omit', true) }}"
|
||||||
loop:
|
loop:
|
||||||
|
- name: cert-manager
|
||||||
|
ref: jetstack/cert-manager
|
||||||
|
values:
|
||||||
|
installCRDs: true
|
||||||
- name: fleet-crd
|
- 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
|
- 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:
|
repositories:
|
||||||
- name: rancher-stable
|
- name: rancher-stable
|
||||||
url: https://releases.rancher.com/server-charts/stable
|
url: https://releases.rancher.com/server-charts/stable
|
||||||
|
- name: jetstack
|
||||||
|
url: https://charts.jetstack.io
|
Loading…
Reference in New Issue
Block a user