mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
refactor(app): summary widget migration [EE-5351] (#8796)
* refactor(app): summary widget migration [EE-5351] * update converter and limit display --------- Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
745bbb7d79
commit
98e6393274
23 changed files with 964 additions and 304 deletions
10
app/react/kubernetes/namespaces/utils.ts
Normal file
10
app/react/kubernetes/namespaces/utils.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
export const systemNamespaces = [
|
||||
'kube-system',
|
||||
'kube-public',
|
||||
'kube-node-lease',
|
||||
'portainer',
|
||||
];
|
||||
|
||||
export function isSystemNamespace(namespace: string) {
|
||||
return systemNamespaces.includes(namespace || '');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue