Compare commits
2 Commits
01a1c0bf0a
...
b9575d2de4
| Author | SHA1 | Date | |
|---|---|---|---|
| b9575d2de4 | |||
| e249498109 |
@@ -8,6 +8,15 @@
|
|||||||
kubeconfig: "{{ kubeconfig.path }}"
|
kubeconfig: "{{ kubeconfig.path }}"
|
||||||
values: "{{ components.harbor.chart_values }}"
|
values: "{{ components.harbor.chart_values }}"
|
||||||
|
|
||||||
|
- name: Ensure harbor API availability
|
||||||
|
ansible.builtin.uri:
|
||||||
|
url: https://registry.{{ vapp['metacluster.fqdn'] }}/api/v2.0/health
|
||||||
|
method: GET
|
||||||
|
register: api_readycheck
|
||||||
|
until: api_readycheck.json.status == 'healthy'
|
||||||
|
retries: 5
|
||||||
|
delay: 30
|
||||||
|
|
||||||
- name: Push images to registry
|
- name: Push images to registry
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: >-
|
cmd: >-
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
providers:
|
providers:
|
||||||
- name: "kubeadm"
|
- name: "kubeadm"
|
||||||
url: "/opt/metacluster/manifests/bootstrap-kubeadm/{{ _template.version.base }}/bootstrap-components.yaml"
|
url: "/opt/metacluster/cluster-api/bootstrap-kubeadm/{{ _template.version.base }}/bootstrap-components.yaml"
|
||||||
type: "BootstrapProvider"
|
type: "BootstrapProvider"
|
||||||
- name: "cluster-api"
|
- name: "cluster-api"
|
||||||
url: "/opt/metacluster/manifests/cluster-api/{{ _template.version.base }}/core-components.yaml"
|
url: "/opt/metacluster/cluster-api/cluster-api/{{ _template.version.base }}/core-components.yaml"
|
||||||
type: "CoreProvider"
|
type: "CoreProvider"
|
||||||
- name: "kubeadm"
|
- name: "kubeadm"
|
||||||
url: "/opt/metacluster/manifests/control-plane-kubeadm/{{ _template.version.base }}/control-plane-components.yaml"
|
url: "/opt/metacluster/cluster-api/control-plane-kubeadm/{{ _template.version.base }}/control-plane-components.yaml"
|
||||||
type: "ControlPlaneProvider"
|
type: "ControlPlaneProvider"
|
||||||
- name: "vsphere"
|
- name: "vsphere"
|
||||||
url: "/opt/metacluster/manifests/infrastructure-vsphere/{{ _template.version.infrastructure_vsphere }}/infrastructure-components.yaml"
|
url: "/opt/metacluster/cluster-api/infrastructure-vsphere/{{ _template.version.infrastructure_vsphere }}/infrastructure-components.yaml"
|
||||||
type: "InfrastructureProvider"
|
type: "InfrastructureProvider"
|
||||||
|
|
||||||
cert-manager:
|
cert-manager:
|
||||||
url: "/opt/metacluster/manifests/cert-manager/{{ _template.version.cert_manager }}/cert-manager.yaml"
|
url: "/opt/metacluster/cluster-api/cert-manager/{{ _template.version.cert_manager }}/cert-manager.yaml"
|
||||||
|
|
||||||
## -- Controller settings -- ##
|
## -- Controller settings -- ##
|
||||||
VSPHERE_SERVER: "{{ _template.hv.fqdn }}"
|
VSPHERE_SERVER: "{{ _template.hv.fqdn }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user