Skip to content

Commit

Permalink
Fix bug for K8s API servers behind proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
goyalankit committed Jan 2, 2024
1 parent f72c16a commit bcf3299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ impl Context {
) -> Result<http::Response<Bytes>, ClickError> {
let (parts, body) = k8sreq.into_parts();

let url = self.endpoint.join(&parts.uri.to_string())?;
let url = Url::parse(&format!("{}{}", self.endpoint, parts.uri))?;

let new_provider = {
// TODO: Fix this mess
Expand Down

0 comments on commit bcf3299

Please sign in to comment.