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

storage/kubernetes: guess namespace from the service account token #626

Conversation

ericchiang
Copy link
Contributor

@ericchiang ericchiang commented Oct 22, 2016

The in cluster kubernetes client currently requires using the
downward API to determine its namespace. However this value can
be determine by inspecting the service account token mounted into
the pod. As a fallback, use this to guess the current namespace.

The in cluster kubernetes client currently requires using the
downward API to determine its namespace. However this value can be
determine by inspecting the service account token mounted into the
pod. As a fallback, use this to guess the current namespace.
@ericchiang ericchiang force-pushed the storage-kubernetes-guess-namespace-from-service-account-token branch from ab2c13c to 8c9c516 Compare October 22, 2016 06:35
@rithujohn191
Copy link
Contributor

LGMT

@ericchiang ericchiang merged commit d350938 into dexidp:dev Oct 25, 2016
@ericchiang ericchiang deleted the storage-kubernetes-guess-namespace-from-service-account-token branch October 26, 2016 17:16
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.

3 participants