Chore: centralise getK8sNamespace (#99767)

* create new public/app/api folder, expose getK8sNamespace

* rename to getAPINamespace
This commit is contained in:
Ashley Harrison
2025-01-29 17:29:16 +00:00
committed by GitHub
parent 07601bee6f
commit 8f60308e73
14 changed files with 52 additions and 49 deletions

3
public/app/api/utils.ts Normal file
View File

@ -0,0 +1,3 @@
import { config } from '@grafana/runtime';
export const getAPINamespace = () => config.namespace;