diff --git a/pkg/injector/pod_patch.go b/pkg/injector/pod_patch.go index aebcda1..bc8729b 100644 --- a/pkg/injector/pod_patch.go +++ b/pkg/injector/pod_patch.go @@ -138,8 +138,8 @@ func (i *injector) getPodPatchOperations(ar *v1.AdmissionReview, }, PatchOperation{ Op: "add", - Path: "/metadata/labels", - Value: map[string]string{"app-runtime": "rusi"}, + Path: "/metadata/labels/app-runtime", + Value: "rusi", }, ) patchOps = append(patchOps, envPatchOps...)