Skip to content

Commit

Permalink
Fix typo preventing the use of KUBE_PROXY_URL env variable (#2485)
Browse files Browse the repository at this point in the history
* Fix typo preventing the use of KUBE_PROXY_URL provider environment variable
  • Loading branch information
alexsomesan authored May 8, 2024
1 parent ef80969 commit 17763a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/2485.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
`kubernetes_manifest`: fix issue preventing KUBE_PROXY_URL environment variable from being used in client configuration (#1733)
```
2 changes: 1 addition & 1 deletion manifest/provider/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ func (s *RawProviderServer) ConfigureProvider(ctx context.Context, req *tfprotov
}
overrides.ClusterDefaults.ProxyURL = proxyURL
}
if proxyUrl, ok := os.LookupEnv("KUBE_PROXY_URL"); ok && proxyUrl != "" {
if proxyURL, ok := os.LookupEnv("KUBE_PROXY_URL"); ok && proxyURL != "" {
overrides.ClusterDefaults.ProxyURL = proxyURL
}

Expand Down

0 comments on commit 17763a5

Please sign in to comment.