Upgrade CAPV images;Add readycheck
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-01-17 11:45:25 +01:00
parent 336150b00c
commit c2219a5ddc
3 changed files with 18 additions and 4 deletions

View File

@ -1,4 +1,4 @@
- name: Download node-template image - name: Download node-template image
ansible.builtin.uri: ansible.builtin.uri:
url: "{{ components.clusterapi.workload.node_template.url }}" url: "{{ components.clusterapi.workload.node_template.url }}"
dest: /opt/workloadcluster/node-templates/{{ components.clusterapi.workload.node_template.name }} dest: /opt/workloadcluster/node-templates/{{ components.clusterapi.workload.node_template.url | basename}}

View File

@ -71,6 +71,21 @@
--kubeconfig {{ kubeconfig.path }} --kubeconfig {{ kubeconfig.path }}
chdir: /opt/metacluster/cluster-api chdir: /opt/metacluster/cluster-api
- name: Ensure CAPI/CAPV controller availability
kubernetes.core.k8s_info:
kind: Deployment
name: "{{ item.name }}"
namespace: "{{ item.namespace }}"
wait: true
kubeconfig: "{{ kubeconfig.path }}"
loop:
- name: capi-controller-manager
namespace: capi-system
- name: capv-controller-manager
namespace: capv-system
loop_control:
label: "{{ item.name }}"
- name: Parse vApp for workload cluster sizing - name: Parse vApp for workload cluster sizing
ansible.builtin.set_fact: ansible.builtin.set_fact:
clustersize: >- clustersize: >-

View File

@ -87,11 +87,10 @@ components:
workload: workload:
version: version:
calico: v3.24.5 calico: v3.24.5
k8s: v1.23.5 k8s: v1.25.5
node_template: node_template:
# Refer to `https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/v1.3.5/README.md#kubernetes-versions-with-published-ovas` for a list of supported node templates # Refer to `https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/v1.3.5/README.md#kubernetes-versions-with-published-ovas` for a list of supported node templates
url: https://storage.googleapis.com/capv-images/release/v1.23.5/ubuntu-2004-kube-v1.23.5.ova url: https://storage.googleapis.com/capv-templates/v1.25.5/ubuntu-2004-kube-v1.25.5.ova
name: ubuntu-2004-kube-v1.23.5.ova
gitea: gitea:
helm: helm: