1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00
portainer/app/react/kubernetes/namespaces/utils.ts
Ali 98e6393274
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>
2023-05-03 15:55:25 +12:00

10 lines
218 B
TypeScript

export const systemNamespaces = [
'kube-system',
'kube-public',
'kube-node-lease',
'portainer',
];
export function isSystemNamespace(namespace: string) {
return systemNamespaces.includes(namespace || '');
}