Skip to content

Commit

Permalink
Export the KUBECONFIG variable
Browse files Browse the repository at this point in the history
Each of the "oc" command that is veryfing the resource
is exiting with error code 1, because the KUBECONFIG is not available.

This commit is partially revert code that was proposed in [1].

[1] crc-org#189
  • Loading branch information
danpawlik committed Jul 9, 2024
1 parent 152546b commit 7a9f044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bundle/setup/clustersetup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#CONST
KUBECONFIG="/opt/kubeconfig"
export KUBECONFIG="/opt/kubeconfig"
LOG_PATH="${LOG_PATH:-"/tmp"}"
LOG_FILE="${LOG_FILE:-"$LOG_PATH/_RANDOM_SUFFIX_.log"}"
DNSMASQ_CONF="${DNSMASQ_CONF:-"/etc/dnsmasq.d/crc-dnsmasq.conf"}"
Expand Down

0 comments on commit 7a9f044

Please sign in to comment.