]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add warning message on smb service management 61317/head
authorPedro Gonzalez Gomez <pegonzal@redhat.com>
Fri, 10 Jan 2025 10:01:14 +0000 (11:01 +0100)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Mon, 20 Jan 2025 14:24:01 +0000 (15:24 +0100)
Fixes: https://tracker.ceph.com/issues/69485
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html

index 81df7582ce9e572fcb4e754fac3be0343fe75bcf..53ba61346b7de27b654d22cf27112e036b9b20e6 100644 (file)
           With an active mgmt-gateway service, the dashboard will continue to be served on {{currentURL}}:{{port}} and all other services will be accessible from {{currentURL}}:{{port}}/service_name
         </cd-alert-panel>
 
+        <cd-alert-panel *ngIf="serviceForm.controls.service_type.value === 'smb'"
+                        type="warning"
+                        spacingClass="mb-3"
+                        i18n>
+          SMB service management is intended for advanced users only.
+          For most scenarios, it is  recommended to use the SMB module instead.
+          To manage SMB clusters and shares, please visit the <a routerLink="/cephfs/smb">SMB page</a>.
+        </cd-alert-panel>
+
         <!-- Service type -->
         <div class="form-group row">
           <label class="cd-col-form-label required"