File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,11 @@ type Options struct {
50
50
//
51
51
// If either one or both of KubeconfigFiles or KubeconfigDirs are
52
52
// set both are used as input for the provider.
53
- // If both are empty defaults are in this order:
54
- // 1. If the KUBECONFIG environment variable is set it is set in
55
- // KubeconfigFiles.
56
- // 2. If ~/.kube/config exists it is set in KubeconfigFiles.
57
- // 3. The working directory of the provider process is set in
58
- // KubeconfigDirs.
53
+ // If both are empty defaults are applied in order of precedence:
54
+ // 1. If the KUBECONFIG environment variable is set and contains
55
+ // a path to a valid file it is used in KubeconfigFiles.
56
+ // 2. If ~/.kube/config exists it is used in KubeconfigFiles.
57
+ // 3. The working directory is used in KubeconfigDirs.
59
58
KubeconfigDirs []string
60
59
61
60
// KubeconfigGlobs are the glob patterns to match kubeconfig files
You can’t perform that action at this time.
0 commit comments