Provisioning: Hide full path for classic provisioing resources (#105440)

This commit is contained in:
Ryan McKinley
2025-05-15 16:01:12 +00:00
committed by GitHub
parent 0041c7e9b7
commit da24ad06bd
5 changed files with 26 additions and 5 deletions
@@ -1849,6 +1849,8 @@ func (dr *DashboardServiceImpl) saveProvisionedDashboardThroughK8s(ctx context.C
m := utils.ManagerProperties{}
s := utils.SourceProperties{}
if !unprovision {
// TODO: the path should be relative to the root
// HOWEVER, maybe OK to leave this for now and "fix" it by using file provisioning for mode 4
m.Kind = utils.ManagerKindClassicFP // nolint:staticcheck
m.Identity = provisioning.Name
s.Path = provisioning.ExternalID