Commit 0396bf5
committed
check for $KUBECONFIG in wsl
Loaded KUBECONFIG from wsl env if available. To check for KUBECONFIG env
variable I had to run bash in interactive mode instead of just running
`wsl.exe echo` since that would not find a user's environment variables.
using printenv KUBECONFIG did work as expected using wsl2 and Ubuntu
20.041 parent 3530129 commit 0396bf5
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
306 | 321 | | |
307 | 322 | | |
308 | 323 | | |
| |||
0 commit comments