Move config to firstboot;Split yaml;Improve feedback
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-11-07 03:11:59 +01:00
parent eb46c384a8
commit 464ed497fe
7 changed files with 125 additions and 123 deletions

View File

@ -89,10 +89,6 @@
dest: /opt/metacluster/manifests/clusterctl.yaml
vars:
_template:
hv:
fqdn: "{{ vapp['hv.fqdn'] }}"
username: "{{ vapp['hv.username'] }}"
password: "{{ vapp['hv.password'] }}"
version:
base: "{{ components.clusterapi.manifest.version.base }}"
infrastructure_vsphere: "{{ components.clusterapi.manifest.version.infrastructure_vsphere }}"

View File

@ -11,16 +11,3 @@ providers:
- name: "vsphere"
url: "/opt/metacluster/manifests/infrastructure-vsphere/{{ _template.version.infrastructure-vsphere }}/infrastructure-components.yaml"
type: "InfrastructureProvider"
## -- Controller settings -- ##
VSPHERE_USERNAME: "{{ _template.hv.username }}"
VSPHERE_PASSWORD: "{{ _template.hv.password }}"
## -- Required workload cluster default settings -- ##
VSPHERE_SERVER: "{{ _template.hv.fqdn }}"
VSPHERE_DATACENTER: "{{ _template.hv.datacenter }}"
VSPHERE_DATASTORE: "{{ _template.hv.datastore }}"
VSPHERE_NETWORK: "{{ _template.hv.network }}"
#VSPHERE_RESOURCE_POOL: ""
#VSPHERE_FOLDER: ""
#VSPHERE_TEMPLATE: "centos-7-kube-v1.18.2"
#VSPHERE_SSH_AUTHORIZED_KEY: "output of cat /root/.ssh/id_rsa.pub"