Add missing kubeconfig key
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4616b9b070
commit
6917e0799a
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user