diff --git a/portal-ui/src/screens/Console/Tenants/TenantDetails/EditTenantLogsModal.tsx b/portal-ui/src/screens/Console/Tenants/TenantDetails/EditTenantLogsModal.tsx index bea251620..222cbcada 100644 --- a/portal-ui/src/screens/Console/Tenants/TenantDetails/EditTenantLogsModal.tsx +++ b/portal-ui/src/screens/Console/Tenants/TenantDetails/EditTenantLogsModal.tsx @@ -256,6 +256,8 @@ const EditTenantLogsModal = ({ } }} > +

Logging API

+

Image

+

Database Configuration


-

Db Image

+

Postgres Image

-

Db Service Account Name

+

Service Account

-

Db Labels

+

Labels

-

Db Annotations

+

Annotations

-

Db Node Selector

+

Node Selector

onClose(true)} modalOpen={open} - title="Edit Prometheus Monitoring Configuration" + title="Edit Monitoring Configuration" >
+

Prometheus configuration

+

Image

-

Service Account Name

+

Service Account

diff --git a/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantLogging.tsx b/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantLogging.tsx index 17cd681a7..c2a2b98b1 100644 --- a/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantLogging.tsx +++ b/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantLogging.tsx @@ -236,6 +236,8 @@ const TenantLogging = ({ +

Logging API Service Details

+
{loadingTenant ? ( @@ -257,9 +259,7 @@ const TenantLogging = ({ - + @@ -317,6 +317,8 @@ const TenantLogging = ({ )}
{logInfo?.diskCapacityGB}
- Service Account Name: - Service Account: {logInfo?.serviceAccountName}
+ +

Database Details


@@ -329,18 +331,16 @@ const TenantLogging = ({ ) : ( - + - + @@ -351,13 +351,13 @@ const TenantLogging = ({ ? logInfo.dbLabels : [] } - recordName="Db Labels" + recordName="labels" /> @@ -369,13 +369,13 @@ const TenantLogging = ({ ? logInfo.dbAnnotations : [] } - recordName="Db Annotations" + recordName="annotations" /> @@ -387,7 +387,7 @@ const TenantLogging = ({ ? logInfo.dbNodeSelector : [] } - recordName="Db Node Selector" + recordName="node selectors" /> diff --git a/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantMonitoring.tsx b/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantMonitoring.tsx index 3e30a7064..b90c3d19f 100644 --- a/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantMonitoring.tsx +++ b/portal-ui/src/screens/Console/Tenants/TenantDetails/TenantMonitoring.tsx @@ -223,54 +223,58 @@ const TenantMonitoring = ({ ) : ( - monitoringInfo !== undefined && ( - - {monitoringInfo.image != null && ( - - - - - )} - {monitoringInfo.sidecarImage != null && ( - - - - - )} - {monitoringInfo.initImage != null && ( - - - - - )} - {monitoringInfo.diskCapacityGB != null && ( - - - - - )} - {monitoringInfo.serviceAccountName != null && ( - - - - - )} - {monitoringInfo.storageClassName != null && ( - - - - - )} - {monitoringInfo.labels != null && - monitoringInfo.labels.length > 0 && ( + + {monitoringInfo.image != null && ( + + + + + )} + {monitoringInfo.sidecarImage != null && ( + + + + + )} + {monitoringInfo.initImage != null && ( + + + + + )} + {monitoringInfo.diskCapacityGB != null && ( + + + + + )} + {monitoringInfo.serviceAccountName != null && ( + + + + + )} + {monitoringInfo.storageClassName != null && ( + + + + + )} + {monitoringInfo.labels != null && + monitoringInfo.labels.length > 0 && ( + <> + + + -

Labels

- )} - {monitoringInfo.annotations != null && - monitoringInfo.annotations.length > 0 && ( + + )} + {monitoringInfo.annotations != null && + monitoringInfo.annotations.length > 0 && ( + <> + + + -

Annotations

- )} - {monitoringInfo.nodeSelector != null && - monitoringInfo.nodeSelector.length > 0 && ( - -

Node Seletor

- - - )} - - ) + + )} + {monitoringInfo.nodeSelector != null && + monitoringInfo.nodeSelector.length > 0 && ( + +

Node Seletor

+ + + )} + )}
Db Image:Postgres Image: {logInfo?.dbImage}
- Db Service Account Name: - Service Account: {logInfo?.dbServiceAccountName}
-

Db Labels

+

Labels

-

Db Annotations

+

Annotations

-

Db Node Selector

+

Node Selector

Image:{monitoringInfo.image}
Sidecar Image:{monitoringInfo?.sidecarImage}
Init Image:{monitoringInfo?.initImage}
- Disk Capacity (GB): - {monitoringInfo?.diskCapacityGB}
- Service Account Name: - {monitoringInfo?.serviceAccountName}
- Storage Class Name: - {monitoringInfo?.storageClassName}
Image:{monitoringInfo.image}
Sidecar Image:{monitoringInfo?.sidecarImage}
Init Image:{monitoringInfo?.initImage}
+ Disk Capacity (GB): + {monitoringInfo?.diskCapacityGB}
+ Service Account Name: + {monitoringInfo?.serviceAccountName}
+ Storage Class Name: + {monitoringInfo?.storageClassName}
+

Labels

+
+

Annotations

+
- -
+ +