This commit is contained in:
parent
1f4bbca7ec
commit
42d79a95ca
@ -3,7 +3,6 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
vars_files:
|
||||||
- metacluster.yml
|
- metacluster.yml
|
||||||
- workloadcluster.yml
|
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- os
|
- os
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
network: "{{ vcenter_info.network }}"
|
network: "{{ vcenter_info.network }}"
|
||||||
resourcepool: "{{ vcenter_info.resourcepool }}"
|
resourcepool: "{{ vcenter_info.resourcepool }}"
|
||||||
cluster:
|
cluster:
|
||||||
nodetemplate: "{{ downstream.node_template.image.name }}"
|
nodetemplate: "{{ components.clusterapi.workload.node_template.name }}"
|
||||||
publickey: "{{ vapp['guestinfo.rootsshkey'] }}"
|
publickey: "{{ vapp['guestinfo.rootsshkey'] }}"
|
||||||
version: "{{ components.clusterapi.workload.version.k8s }}"
|
version: "{{ components.clusterapi.workload.version.k8s }}"
|
||||||
vip: "{{ vapp['workloadcluster.vip'] }}"
|
vip: "{{ vapp['workloadcluster.vip'] }}"
|
||||||
|
@ -14,5 +14,5 @@
|
|||||||
|
|
||||||
- name: Download node-template image
|
- name: Download node-template image
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "{{ downstream.node_template.image.url }}"
|
url: "{{ components.clusterapi.workload.node_template.url }}"
|
||||||
dest: /opt/workloadcluster/node-templates/{{ downstream.node_template.image.name }}
|
dest: /opt/workloadcluster/node-templates/{{ components.clusterapi.workload.node_template.name }}
|
||||||
|
@ -87,6 +87,10 @@ components:
|
|||||||
workload:
|
workload:
|
||||||
version:
|
version:
|
||||||
k8s: v1.23.5
|
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:
|
gitea:
|
||||||
helm:
|
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