From 62aed328c784a957453fcd8093e1cbe190d21726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julie=20Gyselov=C3=A1?= Date: Thu, 10 Oct 2024 14:39:47 +0200 Subject: [PATCH] Add new 'Externally provisioned' BMH status (#2663) --- libs/locales/lib/en/translation.json | 1 + libs/ui-lib/lib/cim/components/helpers/agentStatus.tsx | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/libs/locales/lib/en/translation.json b/libs/locales/lib/en/translation.json index 78d52344ed..604964c1a1 100644 --- a/libs/locales/lib/en/translation.json +++ b/libs/locales/lib/en/translation.json @@ -305,6 +305,7 @@ "ai:Exclude destination domain names, IP addresses, or other network CIDRs from proxying by adding them to this comma-separated list.": "Exclude destination domain names, IP addresses, or other network CIDRs from proxying by adding them to this comma-separated list.", "ai:Exposes the service externally using a cloud provider's load balancer": "Exposes the service externally using a cloud provider's load balancer", "ai:Exposes the service on each node's IP at a static port": "Exposes the service on each node's IP at a static port", + "ai:Externally provisioned": "Externally provisioned", "ai:Failed": "Failed", "ai:Failed on {{humanizedDataTime}}": "Failed on {{humanizedDataTime}}", "ai:Failed to add host": "Failed to add host", diff --git a/libs/ui-lib/lib/cim/components/helpers/agentStatus.tsx b/libs/ui-lib/lib/cim/components/helpers/agentStatus.tsx index 2d8c2e2880..2fe0326cef 100644 --- a/libs/ui-lib/lib/cim/components/helpers/agentStatus.tsx +++ b/libs/ui-lib/lib/cim/components/helpers/agentStatus.tsx @@ -42,6 +42,11 @@ export const bmhStatus = (t: TFunction): HostStatus => ({ title: t('ai:Pending'), category: 'Bare Metal Host related', }, + 'externally provisioned': { + key: 'externally provisioned', + title: t('ai:Externally provisioned'), + category: 'Bare Metal Host related', + }, }); export const agentStatus = (t: TFunction): HostStatus => ({