Skip to content

Retrieve default namespace from file serviceaccount/namespace#154

Open
liuchong wants to merge 1 commit into
vert-x3:masterfrom
liuchong:retrieve-namespace-from-file
Open

Retrieve default namespace from file serviceaccount/namespace#154
liuchong wants to merge 1 commit into
vert-x3:masterfrom
liuchong:retrieve-namespace-from-file

Conversation

@liuchong
Copy link
Copy Markdown

Motivation:

In pod where is a file /var/run/secrets/kubernetes.io/serviceaccount/namespace mounted by default contains current namespace, we could use it to instead of using "default" when namespace not provided when config with k8s configmap.

@liuchong
Copy link
Copy Markdown
Author

Please check if we need this @vietj 👀

@liuchong liuchong force-pushed the retrieve-namespace-from-file branch from 298f5e5 to e5a60b4 Compare December 29, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant