Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder with infraID is created automatically by the installer #355

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/modules/ROOT/pages/how-tos/vsphere/install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ platform:
networks:
- ${VSPHERE_NETWORK}
resourcePool: "/${VSPHERE_DATACENTER}/host/${VSPHERE_CLUSTER}//Resources"
folder: "/${VSPHERE_DATACENTER}/vm/${VSPHERE_FOLDER}"
folder: "" <3>
ingressVIPs:
- ${INGRESS_VIP}
vcenters:
Expand All @@ -75,3 +75,4 @@ EOF
Otherwise, the installation will most likely fail.
<2> We only provision a single compute machine set.
The final machine sets will be configured through Project Syn.
<3> The installer will by default create a top-level folder with the vsphere infraID, but you can optionally choose an existing folder (https://docs.openshift.com/container-platform/4.15/installing/installing_vsphere/installation-config-parameters-vsphere.html#installation-configuration-parameters-additional-vsphere_installation-config-parameters-vsphere[docs]).
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ 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}\"" \
yq eval -i ".parameters.openshift.vsphere.folder = .parameters.openshift.infraID" \
${CLUSTER_ID}.yml
----