This commit is contained in:
parent
1f4bbca7ec
commit
42d79a95ca
@ -3,7 +3,6 @@
|
||||
gather_facts: false
|
||||
vars_files:
|
||||
- metacluster.yml
|
||||
- workloadcluster.yml
|
||||
become: true
|
||||
roles:
|
||||
- os
|
||||
|
@ -23,7 +23,7 @@
|
||||
network: "{{ vcenter_info.network }}"
|
||||
resourcepool: "{{ vcenter_info.resourcepool }}"
|
||||
cluster:
|
||||
nodetemplate: "{{ downstream.node_template.image.name }}"
|
||||
nodetemplate: "{{ components.clusterapi.workload.node_template.name }}"
|
||||
publickey: "{{ vapp['guestinfo.rootsshkey'] }}"
|
||||
version: "{{ components.clusterapi.workload.version.k8s }}"
|
||||
vip: "{{ vapp['workloadcluster.vip'] }}"
|
||||
|
@ -14,5 +14,5 @@
|
||||
|
||||
- name: Download node-template image
|
||||
ansible.builtin.uri:
|
||||
url: "{{ downstream.node_template.image.url }}"
|
||||
dest: /opt/workloadcluster/node-templates/{{ downstream.node_template.image.name }}
|
||||
url: "{{ components.clusterapi.workload.node_template.url }}"
|
||||
dest: /opt/workloadcluster/node-templates/{{ components.clusterapi.workload.node_template.name }}
|
||||
|
@ -87,6 +87,10 @@ components:
|
||||
workload:
|
||||
version:
|
||||
k8s: v1.23.5
|
||||
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
|
||||
url: https://storage.googleapis.com/capv-images/release/v1.23.5/ubuntu-2004-kube-v1.23.5.ova
|
||||
name: ubuntu-2004-kube-v1.23.5.ova
|
||||
|
||||
gitea:
|
||||
helm:
|
||||
|
@ -1,7 +0,0 @@
|
||||
downstream:
|
||||
|
||||
node_template:
|
||||
image:
|
||||
# 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
|
||||
name: ubuntu-2004-kube-v1.23.5.ova
|
Loading…
Reference in New Issue
Block a user