Commit ec23297
fix: respect KUBECONFIG env var for external repo kubeconfig path
When consumers use the kind-bootstrap GitHub Action, the action sets
the KUBECONFIG env var to the kubeconfig file it creates. The Taskfile
previously ignored this env var and always fell back to the hardcoded
.test-infra/kubeconfig path, causing task commands to fail.
Now the external repo branch checks the KUBECONFIG env var first and
only falls back to .test-infra/kubeconfig if the env var is unset or
the file it points to does not exist.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9c7ef8a commit ec23297
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments