Skip to content

Commit 17763a5

Browse files
authored
Fix typo preventing the use of KUBE_PROXY_URL env variable (#2485)
* Fix typo preventing the use of KUBE_PROXY_URL provider environment variable
1 parent ef80969 commit 17763a5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/2485.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
`kubernetes_manifest`: fix issue preventing KUBE_PROXY_URL environment variable from being used in client configuration (#1733)
3+
```

manifest/provider/configure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ func (s *RawProviderServer) ConfigureProvider(ctx context.Context, req *tfprotov
523523
}
524524
overrides.ClusterDefaults.ProxyURL = proxyURL
525525
}
526-
if proxyUrl, ok := os.LookupEnv("KUBE_PROXY_URL"); ok && proxyUrl != "" {
526+
if proxyURL, ok := os.LookupEnv("KUBE_PROXY_URL"); ok && proxyURL != "" {
527527
overrides.ClusterDefaults.ProxyURL = proxyURL
528528
}
529529

0 commit comments

Comments
 (0)