fix: resolve missing restrict resources namespace

This commit is contained in:
2025-03-04 23:55:28 +03:30
parent 75d0557286
commit 346f69100c
4 changed files with 15 additions and 10 deletions

View File

@@ -23,7 +23,6 @@ func (crd *Crd) Patch(jobUid types.UID, patchData map[string]interface{}) error
// Patch the status sub-resource
unstructuredJob, err := crd.client.
Namespace(job.GetNamespace()).
Patch(
context.Background(),
job.GetName(),