mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 05:08:36 +08:00
Chore: centralise getK8sNamespace
(#99767)
* create new public/app/api folder, expose getK8sNamespace * rename to getAPINamespace
This commit is contained in:
3
public/app/api/utils.ts
Normal file
3
public/app/api/utils.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { config } from '@grafana/runtime';
|
||||
|
||||
export const getAPINamespace = () => config.namespace;
|
Reference in New Issue
Block a user