From 1d01d0407ee08c3da338a323a168c454ecdd3bdf Mon Sep 17 00:00:00 2001 From: Afreen Misbah Date: Sat, 14 Sep 2024 22:28:44 +0530 Subject: [PATCH] mgr/dashboard: Add mTLS support - enables mTLS support from dashboard - adds unit tests related to mTLS support - can enable mTLS - can disable mTLS - inlcuded refactoring from prev commit Fixes https://tracker.ceph.com/issues/66416 Signed-off-by: Afreen Misbah --- .../service-form/service-form.component.html | 123 ++++++++++++++++- .../service-form.component.spec.ts | 63 ++++++++- .../service-form/service-form.component.ts | 124 +++++++++++++----- .../pool-details.component.spec.ts | 1 + .../app/shared/models/service.interface.ts | 5 + 5 files changed, 280 insertions(+), 36 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html index 641d25a8dc29c..46d28f74e6b3b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html @@ -96,7 +96,7 @@ name="pool" class="form-select" formControlName="pool" - (change)="onBlockPoolChange()"> + (change)="setNvmeServiceId()"> @@ -131,7 +131,7 @@ class="form-control" type="text" formControlName="group" - (change)="onNvmeofGroupChange($event.target.value)"> + (change)="setNvmeServiceId()"> The name of the gateway group. @@ -1272,6 +1272,125 @@ i18n> Modifying the default settings could lead to a weaker security configuration + + + +
+
+
+ + + Enables mutual TLS (mTLS) between the client and the gateway server. +
+
+
+ + +
+ +
+ + + This field is required. +
+
+ + +
+ +
+ + + This field is required. +
+
+ + +
+ +
+ + + This field is required. +
+
+ + +
+ +
+ + + This field is required. +
+
+ + +
+ +
+ + + This field is required. +
+
+