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

View File

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