mirror of https://github.com/portainer/portainer
11 lines
218 B
TypeScript
11 lines
218 B
TypeScript
|
export const systemNamespaces = [
|
||
|
'kube-system',
|
||
|
'kube-public',
|
||
|
'kube-node-lease',
|
||
|
'portainer',
|
||
|
];
|
||
|
|
||
|
export function isSystemNamespace(namespace: string) {
|
||
|
return systemNamespaces.includes(namespace || '');
|
||
|
}
|