Configure Harbor;Disable tarball deletion
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-06-30 11:20:39 +02:00
parent f2d9147291
commit 1d59cd4b3c
2 changed files with 7 additions and 4 deletions

View File

@ -55,10 +55,10 @@
chdir: /opt/metacluster/container-images
loop: "{{ imagetarballs.files }}"
- name: Delete redundant files
ansible.builtin.file:
path: /opt/metacluster/container-images
state: absent
# - name: Delete redundant files
# ansible.builtin.file:
# path: /opt/metacluster/container-images
# state: absent
- name: Install longhorn chart
kubernetes.core.helm:
@ -91,6 +91,7 @@
ingress:
hosts:
core: registry.{{ vapp['guestinfo.fqdn'] }}
externalURL: registry.{{ vapp['guestinfo.fqdn'] }}
harborAdminPassword: "{{ vapp['guestinfo.rootpw'] }}"
notary:
enabled: false

View File

@ -6,6 +6,8 @@
- /opt/metacluster/helm-charts
- /opt/metacluster/container-images
#- name: Inject values (re: firstboot logic)
- name: Add helm repositories
kubernetes.core.helm_repository:
name: "{{ item.name }}"