added the right naming convention to kubeConfigSecret in target

This commit is contained in:
pb
2025-05-15 09:37:35 +02:00
parent 35facf1b74
commit cb2e4f6028
2 changed files with 6 additions and 6 deletions

View File

@@ -305,7 +305,7 @@ func (k *KubernetesService) CreateAdmiraltyTarget(context context.Context, execu
},
"spec": map[string]interface{}{
"kubeconfigSecret": map[string]string{
"name" : "kube-secret-"+executionId,
"name" : "kube-secret-"+ getConcatenatedName(peerId, executionId),
},
},
}