Skip to content

Commit

Permalink
Fix typo in the oc command after cluster is ready (#1384)
Browse files Browse the repository at this point in the history
The correct flag is --kubeconfig

Also add single line instruction to message to set the KUBECONFIG
environment variable.
  • Loading branch information
elfosardo authored Apr 26, 2022
1 parent feb275e commit 1fb5202
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 06_create_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ if [[ ! -z "${ENABLE_VIRTUAL_MEDIA_VIA_EXTERNAL_NETWORK}" ]]; then
oc patch provisioning provisioning-configuration --type merge -p "{\"spec\":{\"virtualMediaViaExternalNetwork\":true}}"
fi

echo "Cluster up, you can interact with it via oc --config ${KUBECONFIG} <command>"
echo "Cluster up, you can interact with it via oc --kubeconfig ${KUBECONFIG} <command>"
echo "To avoid using the --kubeconfig flag on each command, set KUBECONFIG variable with: export KUBECONFIG=${KUBECONFIG}"

0 comments on commit 1fb5202

Please sign in to comment.