corrected Apply target

This commit is contained in:
pb 2025-04-11 12:10:54 +02:00
parent d5ad32e2e4
commit 46b7713404

View File

@ -343,7 +343,7 @@ func (k *KubernetesService) CreateAdmiraltyTarget(context context.Context,execut
res, err := cli.Resource(gvrTargets). res, err := cli.Resource(gvrTargets).
Namespace(executionId). Namespace(executionId).
Apply(context, Apply(context,
"source-"+executionId, "target-"+executionId,
&unstructured.Unstructured{Object: target}, &unstructured.Unstructured{Object: target},
metav1.ApplyOptions{ metav1.ApplyOptions{
FieldManager: "kubectl-client-side-apply", FieldManager: "kubectl-client-side-apply",