From 597c554471a957013c86710acd73d46ebd9e4982 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Mon, 2 Sep 2024 19:59:43 +0200 Subject: [PATCH] Fix typo in RunOnce activeDeadlineSeconds mutation webhook (#125) Follow up of #124. --- webhooks/pod_runonce_active_deadline_seconds_mutator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhooks/pod_runonce_active_deadline_seconds_mutator.go b/webhooks/pod_runonce_active_deadline_seconds_mutator.go index 2d94e07..0bb90a9 100644 --- a/webhooks/pod_runonce_active_deadline_seconds_mutator.go +++ b/webhooks/pod_runonce_active_deadline_seconds_mutator.go @@ -86,7 +86,7 @@ func (m *PodRunOnceActiveDeadlineSecondsMutator) handle(ctx context.Context, req return admission.Patched(msg, jsonpatch.Operation{ Operation: "add", - Path: "/spec/restartPolicy", + Path: "/spec/activeDeadlineSeconds", Value: ads, }) }