Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP on impersonation proxy spike. #67

Closed
wants to merge 3 commits into from
Closed

WIP on impersonation proxy spike. #67

wants to merge 3 commits into from

Conversation

mattmoyer
Copy link
Contributor

This code will probably never merge, but it's here for reference.

@mattmoyer mattmoyer requested a review from cfryanr August 19, 2020 21:59
Signed-off-by: Matt Moyer <moyerm@vmware.com>
Signed-off-by: Matt Moyer <moyerm@vmware.com>
…/logs).

Signed-off-by: Matt Moyer <moyerm@vmware.com>
return fmt.Errorf("could not get in-cluster transport: %w", err)
}

proxy := httputil.NewSingleHostReverseProxy(&url.URL{Scheme: "https", Host: "kubernetes.default"})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: load kubernetes.default from the default service account mount directory instead of assuming it's this value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant