Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Added override mechanism for kubeconfig. This allows the full path to… #154

Merged
merged 3 commits into from
Oct 15, 2018
Merged
Changes from 1 commit
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
Prev Previous commit
Code review chnages. Fixed incorrectly named variable in comment.
  • Loading branch information
templecloud committed Oct 15, 2018
commit 6774f2217c7ff3696fd397cbdcbf198901edf70b
2 changes: 1 addition & 1 deletion pkg/oci/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func GetConfigPath() string {

// GetKubeconfigPath gets the override path of the 'kubeconfig'. This override
// can be uses to explicitly set the name and location of the kubeconfig file
// via the OCI_FLEXD_KUBECONFIG environment variable. If this value is not
// via the OCI_FLEXD_KUBECONFIG_PATH environment variable. If this value is not
// specified then the default GetConfigDirectory mechanism is used.
func GetKubeconfigPath() string {
kcp := os.Getenv("OCI_FLEXD_KUBECONFIG_PATH")
Expand Down