1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 16:57:10 +00:00
node-feature-discovery/pkg/nfd-client
Markus Lehtonen 87b92f88ca nfd-worker: detect the namespace it is running in
Implement detection of kubernetes namespace by reading file
/var/run/secrets/kubernetes.io/serviceaccount/namespace

Aa a fallback (if the file is not accessible) we take namespace from
KUBERNETES_NAMESPACE environment variable. This is useful for e.g.
testing and development where you might run nfd-worker directly from the
command line on a host system.
2022-12-08 10:34:52 +02:00
..
topology-updater topology-updater: introduce exclude-list 2022-11-21 14:08:25 +02:00
worker nfd-worker: detect the namespace it is running in 2022-12-08 10:34:52 +02:00
base.go nfd-client: don't use deprecated grpc.WithInsecure() 2022-09-09 11:07:22 +03:00