Skip to content

Commit

Permalink
Merge pull request #335 from appuio/install/vsphere-folder
Browse files Browse the repository at this point in the history
Update deprecated install-config.yaml parameters
  • Loading branch information
DebakelOrakel committed Jun 18, 2024
2 parents 20cae50 + 3e07858 commit b7bb037
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/how-tos/vsphere/install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export VSPHERE_CLUSTER=<cluster name>
export VSPHERE_DATACENTER=<datacenter name>
export VSPHERE_DATASTORE=<datastore name>
export VSPHERE_NETWORK=<network name>
export VSPHERE_FOLDER=<folder name>
----

.Cluster machine network
Expand Down
27 changes: 19 additions & 8 deletions docs/modules/ROOT/partials/install/install-config-vsphere.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[NOTE]
====
You can add more options to the `install-config.yaml` file.
Have a look at the https://docs.openshift.com/container-platform/4.13/installing/installing_vsphere/installing-vsphere-installer-provisioned-customizations.html#installation-configuration-parameters_installing-vsphere-installer-provisioned-customizations[installation configuration parameters] for more information.
Have a look at the https://docs.openshift.com/container-platform/latest/installing/installing_vsphere/installing-vsphere-installer-provisioned-customizations.html#installation-configuration-parameters_installing-vsphere-installer-provisioned-customizations[installation configuration parameters] for more information.
====
+
[source,bash]
Expand Down Expand Up @@ -42,15 +42,26 @@ platform:
vsphere:
apiVIPs:
- ${API_VIP}
cluster: ${VSPHERE_CLUSTER}
datacenter: ${VSPHERE_DATACENTER}
defaultDatastore: ${VSPHERE_DATASTORE}
failureDomains:
- name: datacenter
server: ${VCENTER_HOSTNAME}
topology:
computeCluster: "/${VSPHERE_DATACENTER}/host/${VSPHERE_CLUSTER}"
datacenter: ${VSPHERE_DATACENTER}
datastore: "/${VSPHERE_DATACENTER}/datastore/${VSPHERE_DATASTORE}"
networks:
- ${VSPHERE_NETWORK}
resourcePool: "/${VSPHERE_DATACENTER}/host/${VSPHERE_CLUSTER}//Resources"
folder: "/${VSPHERE_DATACENTER}/vm/${VSPHERE_FOLDER}"
ingressVIPs:
- ${INGRESS_VIP}
network: ${VSPHERE_NETWORK}
username: ${VSPHERE_USERNAME}
password: ${VSPHERE_PASSWORD}
vCenter: ${VCENTER_HOSTNAME}
vcenters:
- datacenters:
- ${VSPHERE_DATACENTER}
user: ${VSPHERE_USERNAME}
password: ${VSPHERE_PASSWORD}
server: ${VCENTER_HOSTNAME}
port: 443
networking:
networkType: Cilium
machineNetwork:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ yq eval -i ".parameters.openshift.vsphere.datastore = \"${VSPHERE_DATASTORE}\""

yq eval -i ".parameters.openshift.vsphere.server = \"${VCENTER_HOSTNAME}\"" \
${CLUSTER_ID}.yml

yq eval -i ".parameters.openshift.vsphere.folder = \"${VSPHERE_FOLDER}\"" \
${CLUSTER_ID}.yml
----

0 comments on commit b7bb037

Please sign in to comment.