Fix template name;Fix interface name
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-11-09 16:59:43 +01:00
parent b47dda7a50
commit 85fb68b2e0
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
network: "{{ vcenter_info.network }}"
resourcepool: "{{ vcenter_info.resourcepool }}"
cluster:
nodetemplate: "{{ components.clusterapi.workload.node_template.name }}"
nodetemplate: "{{ (components.clusterapi.workload.node_template.name | split('.'))[:-1] | join('.') }}"
publickey: "{{ vapp['guestinfo.rootsshkey'] }}"
version: "{{ components.clusterapi.workload.version.k8s }}"
vip: "{{ vapp['workloadcluster.vip'] }}"

View File

@ -34,5 +34,5 @@ VSPHERE_SSH_AUTHORIZED_KEY: "{{ _template.cluster.publickey }}"
KUBERNETES_VERSION: "{{ _template.cluster.version }}"
CONTROL_PLANE_ENDPOINT_IP: "{{ _template.cluster.vip }}"
VIP_NETWORK_INTERFACE: "ens192"
VIP_NETWORK_INTERFACE: "eth0"
EXP_CLUSTER_RESOURCE_SET: "true"