loft-sh / jspolicy

jsPolicy - Easier & Faster Kubernetes Policies using JavaScript or TypeScript

Home Page:https://www.jspolicy.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow configure reinvocationPolicy of WebhookConfiguration in the JSPolicy specification

verdel opened this issue · comments

I have a feature request. Currently, when creating a WebhookConfiguration for JSPolicy, the specification sets the value Never for the reinvocationPolicy parameter. However, in certain scenarios, it may be necessary to set the value to IfNeeded.

It is possible to add the ability to set values for reinvocationPolicy similar to the way failurePolicy is configured.

Hey, @verdel

Thanks for the suggestion!
We'll prioritise it internally and come back with an update!