Add missing kubeconfig key
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-06-28 11:53:17 +02:00
parent 4616b9b070
commit 6917e0799a
1 changed files with 15 additions and 4 deletions

View File

@ -48,25 +48,36 @@
- name: Import container images
ansible.builtin.command:
cmd: k3s ctr image import {{ item }}
chdir: /opt/metacluster/container_images
chdir: /opt/metacluster/container-images
loop: "{{ imagetarballs.files }}"
- name: Delete redundant files
ansible.builtin.file:
path: /opt/metacluster/container_images
path: /opt/metacluster/container-images
state: absent
- name: Install longhorn chart
kubernetes.core.helm:
name: longhorn
chart_ref: /opt/metacluster/helm_charts/longhorn
release_namespace: longhorn
chart_ref: /opt/metacluster/helm-charts/longhorn
release_namespace: longhorn-system
create_namespace: yes
kubeconfig: "{{ kubeconfig.path }}"
values:
ingress:
enabled: true
host: storage.{{ vapp['guestinfo.fqdn'] }}
- name: Install harbor chart
kubernetes.core.helm:
name: harbor
chart_ref: /opt/metacluster/helm-charts/harbor
release_namespace: harbor
create_namespace: yes
kubeconfig: "{{ kubeconfig.path }}"
values:
# foo: bar
- name: Cleanup tempfile
ansible.builtin.file:
path: "{{ kubeconfig.path }}"