corrected Apply target
This commit is contained in:
parent
d5ad32e2e4
commit
46b7713404
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user