This is an automated email from the ASF dual-hosted git repository.

gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d29554a [FLINK-36685] allow CREATE/UPDATE operation on 
flinkdeployments resource on webhook mutation endpoint
5d29554a is described below

commit 5d29554a179632028ccd182d48da5f825b52b976
Author: Shuyi Chen <[email protected]>
AuthorDate: Tue Nov 12 22:29:32 2024 -0800

    [FLINK-36685] allow CREATE/UPDATE operation on flinkdeployments resource on 
webhook mutation endpoint
---
 helm/flink-kubernetes-operator/templates/webhook.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/helm/flink-kubernetes-operator/templates/webhook.yaml 
b/helm/flink-kubernetes-operator/templates/webhook.yaml
index 18899b48..e7f703c6 100644
--- a/helm/flink-kubernetes-operator/templates/webhook.yaml
+++ b/helm/flink-kubernetes-operator/templates/webhook.yaml
@@ -136,8 +136,10 @@ webhooks:
         scope: "Namespaced"
         operations:
           - CREATE
+          - UPDATE
         resources:
           - flinksessionjobs
+          - flinkdeployments
     sideEffects: None
     {{- if .Values.watchNamespaces }}
     namespaceSelector:

Reply via email to