Compare commits

...

1 Commits

Author SHA1 Message Date
Dakota Walsh
e1d3c9851e fix(namespace): show yaml in namespaces without resource quota EE-6705 2024-04-30 13:56:17 -04:00

View File

@@ -47,6 +47,9 @@ export function KubernetesResourcePoolService(
if (quotaAttempt.status === 'fulfilled') {
pool.Quota = quotaAttempt.value;
pool.Yaml += '---\n' + quotaAttempt.value.Yaml;
} else {
const ns = await KubernetesNamespaceService.get(name);
pool.Yaml = '---\n' + ns.Yaml;
}
}
return pool;