-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use CEL for CR validation #459
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a nit, looks good otherwise
@@ -83,7 +83,7 @@ func main() { | |||
flag.DurationVar(&cfg.ReclaimSpaceTimeout, "reclaim-space-timeout", cfg.ReclaimSpaceTimeout, "Timeout for reclaimspace operation") | |||
flag.IntVar(&cfg.MaxConcurrentReconciles, "max-concurrent-reconciles", cfg.MaxConcurrentReconciles, "Maximum number of concurrent reconciles") | |||
flag.StringVar(&cfg.Namespace, "namespace", cfg.Namespace, "Namespace where the CSIAddons pod is deployed") | |||
flag.BoolVar(&enableAdmissionWebhooks, "enable-admission-webhooks", true, "Enable the admission webhooks") | |||
flag.BoolVar(&enableAdmissionWebhooks, "enable-admission-webhooks", false, "[DEPRECATED] Enable the admission webhooks") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please report a warning when the option is passed. Note the name of the option, and that the functionality has been removed.
@@ -97,6 +97,10 @@ func main() { | |||
return | |||
} | |||
|
|||
if enableAdmissionWebhooks { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please squash this into the 1st commit
f63ea38
to
5a894b2
Compare
Pull request has been modified.
As webhooks are complicated and hard to maintain removing it from the repo and will use CEL for all the required validations. print deprecated log for webhook as webhook is disabled and print a log if its enabled. Signed-off-by: Madhu Rajanna <[email protected]>
added csi-addons.clusterserviceversion to gitignore as its not pushed to the repo. Signed-off-by: Madhu Rajanna <[email protected]>
use CEL to validate the CR fields as it is having multiple advantages over webhooks and also it already beta in 1.25 onwards and going to be GA in 1.29 More details about it at https://kubernetes.io/blog/2022/09/29/\ enforce-immutability-using-cel/ Signed-off-by: Madhu Rajanna <[email protected]>
5a894b2
to
7689242
Compare
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [kubernetes-csi-addons](https://togithub.com/csi-addons/kubernetes-csi-addons) | minor | `v0.7.0` -> `v0.8.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>csi-addons/kubernetes-csi-addons (kubernetes-csi-addons)</summary> ### [`v0.8.0`](https://togithub.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.8.0) [Compare Source](https://togithub.com/csi-addons/kubernetes-csi-addons/compare/v0.7.0...v0.8.0) #### What's Changed - vendor: bump google.golang.org/grpc from 1.56.1 to 1.56.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/404](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/404) - ci: add lint-extras github workflow by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403) - fix: enable hadolint linter in super linter by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/407](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/407) - ci: wait for images to be pushed before creating the release by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/408](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/408) - fix: fix markdown failures by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/409](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/409) - ci: bump helm/kind-action from 1.7.0 to 1.8.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/411](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/411) - vendor: bump sigs.k8s.io/controller-tools from 0.12.0 to 0.12.1 in /tools by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/412](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/412) - vendor: bump github.com/onsi/gomega from 1.27.8 to 1.27.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/417](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/417) - vendor: bump k8s.io/client-go from 0.27.3 to 0.27.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/416](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/416) - test: Adding NetworkFence capability to test tool by [@​karthik-us](https://togithub.com/karthik-us) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/410](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/410) - vendor: bump google.golang.org/grpc from 1.56.2 to 1.57.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/420](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/420) - cmd: add testing tool for volume replication by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/419](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/419) - fix: return response from getVolumeReplicationInfo by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/421](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/421) - vendor: bump go.uber.org/zap from 1.24.0 to 1.25.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/424](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/424) - vendor: bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/423](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/423) - ci: bump arduino/setup-protoc from 1 to 2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/426](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/426) - vendor: bump k8s.io/client-go from 0.27.4 to 0.28.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/431](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/431) - vendor: bump k8s.io/client-go from 0.28.0 to 0.28.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/437](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/437) - vendor: bump github.com/kubernetes-csi/csi-lib-utils from 0.14.0 to 0.15.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/435](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/435) - vendor: bump sigs.k8s.io/controller-runtime from 0.15.1 to 0.16.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/438](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/438) - ci: bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/440](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/440) - vendor: bump sigs.k8s.io/controller-runtime from 0.16.0 to 0.16.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/439](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/439) - vendor: bump google.golang.org/grpc from 1.57.0 to 1.58.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/442](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/442) - ci: bump docker/setup-buildx-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/452](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/452) - ci: bump docker/setup-qemu-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/451](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/451) - ci: bump docker/build-push-action from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/450](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/450) - ci: bump docker/login-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/449](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/449) - vendor: bump k8s.io/api from 0.28.1 to 0.28.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/448](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/448) - vendor: bump google.golang.org/grpc from 1.58.0 to 1.58.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/447](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/447) - vendor: bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/446](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/446) - vendor: bump go.uber.org/zap from 1.25.0 to 1.26.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/461](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/461) - use CEL for CR validation by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/459](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/459) - vendor: bump google.golang.org/grpc from 1.58.1 to 1.58.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/460](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/460) - vendor: bump k8s.io/client-go from 0.28.1 to 0.28.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/445](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/445) - vendor: bump github.com/onsi/gomega from 1.27.10 to 1.28.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/464](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/464) - cleanup: fix spelling mistakes by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/465](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/465) - vendor: bump google.golang.org/grpc from 1.58.2 to 1.58.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/467](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/467) - vendor: bump k8s.io/client-go from 0.28.2 to 0.28.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/468](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/468) - vendor: bump github.com/onsi/gomega from 1.28.0 to 1.28.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/471](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/471) - vendor: bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/469](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/469) - vendor: bump github.com/container-storage-interface/spec from 1.8.0 to 1.9.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/477](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/477) - vendor: bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/475](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/475) - vendor: bump github.com/onsi/gomega from 1.28.1 to 1.29.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/474](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/474) - vendor: bump google.golang.org/grpc from 1.58.3 to 1.59.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/476](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/476) - vendor: bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/480](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/480) - Fix corner cases bugs found in CEL validation by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/481](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/481) - Explicitly disable gRPC idle timeout by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/482](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/482) - vendor: bump github.com/onsi/gomega from 1.29.0 to 1.30.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/483](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/483) - ci: update dependabot for group updates by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/484](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/484) - vendor: bump the github-dependencies group with 1 update by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/485](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/485) - ci: update group rules for dependabot by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/487](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/487) - update to proper message on a successful fence op by [@​rakeshgm](https://togithub.com/rakeshgm) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488) - vendor: bump the k8s-dependencies group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/489](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/489) - send NetworkFence requests to the leading CSI-Addons sidecar by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/492](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/492) - ci: bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/494](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/494) - connection: track Namespace of driver Pods to locate Leases by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/496](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/496) - replication: send VolumeReplication operations to the leading controller by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/495](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/495) - reclaimspace: send ControllerReclaimSpace operations to the leading controller by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/493](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/493) #### New Contributors - [@​riya-singhal31](https://togithub.com/riya-singhal31) made their first contribution in [https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403) - [@​rakeshgm](https://togithub.com/rakeshgm) made their first contribution in [https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488) **Full Changelog**: csi-addons/kubernetes-csi-addons@v0.7.0...v0.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [kubernetes-csi-addons](https://togithub.com/csi-addons/kubernetes-csi-addons) | minor | `v0.7.0` -> `v0.8.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>csi-addons/kubernetes-csi-addons (kubernetes-csi-addons)</summary> ### [`v0.8.0`](https://togithub.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.8.0) [Compare Source](https://togithub.com/csi-addons/kubernetes-csi-addons/compare/v0.7.0...v0.8.0) #### What's Changed - vendor: bump google.golang.org/grpc from 1.56.1 to 1.56.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/404](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/404) - ci: add lint-extras github workflow by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403) - fix: enable hadolint linter in super linter by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/407](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/407) - ci: wait for images to be pushed before creating the release by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/408](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/408) - fix: fix markdown failures by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/409](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/409) - ci: bump helm/kind-action from 1.7.0 to 1.8.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/411](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/411) - vendor: bump sigs.k8s.io/controller-tools from 0.12.0 to 0.12.1 in /tools by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/412](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/412) - vendor: bump github.com/onsi/gomega from 1.27.8 to 1.27.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/417](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/417) - vendor: bump k8s.io/client-go from 0.27.3 to 0.27.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/416](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/416) - test: Adding NetworkFence capability to test tool by [@​karthik-us](https://togithub.com/karthik-us) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/410](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/410) - vendor: bump google.golang.org/grpc from 1.56.2 to 1.57.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/420](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/420) - cmd: add testing tool for volume replication by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/419](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/419) - fix: return response from getVolumeReplicationInfo by [@​riya-singhal31](https://togithub.com/riya-singhal31) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/421](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/421) - vendor: bump go.uber.org/zap from 1.24.0 to 1.25.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/424](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/424) - vendor: bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/423](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/423) - ci: bump arduino/setup-protoc from 1 to 2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/426](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/426) - vendor: bump k8s.io/client-go from 0.27.4 to 0.28.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/431](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/431) - vendor: bump k8s.io/client-go from 0.28.0 to 0.28.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/437](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/437) - vendor: bump github.com/kubernetes-csi/csi-lib-utils from 0.14.0 to 0.15.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/435](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/435) - vendor: bump sigs.k8s.io/controller-runtime from 0.15.1 to 0.16.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/438](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/438) - ci: bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/440](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/440) - vendor: bump sigs.k8s.io/controller-runtime from 0.16.0 to 0.16.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/439](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/439) - vendor: bump google.golang.org/grpc from 1.57.0 to 1.58.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/442](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/442) - ci: bump docker/setup-buildx-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/452](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/452) - ci: bump docker/setup-qemu-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/451](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/451) - ci: bump docker/build-push-action from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/450](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/450) - ci: bump docker/login-action from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/449](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/449) - vendor: bump k8s.io/api from 0.28.1 to 0.28.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/448](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/448) - vendor: bump google.golang.org/grpc from 1.58.0 to 1.58.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/447](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/447) - vendor: bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/446](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/446) - vendor: bump go.uber.org/zap from 1.25.0 to 1.26.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/461](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/461) - use CEL for CR validation by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/459](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/459) - vendor: bump google.golang.org/grpc from 1.58.1 to 1.58.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/460](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/460) - vendor: bump k8s.io/client-go from 0.28.1 to 0.28.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/445](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/445) - vendor: bump github.com/onsi/gomega from 1.27.10 to 1.28.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/464](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/464) - cleanup: fix spelling mistakes by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/465](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/465) - vendor: bump google.golang.org/grpc from 1.58.2 to 1.58.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/467](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/467) - vendor: bump k8s.io/client-go from 0.28.2 to 0.28.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/468](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/468) - vendor: bump github.com/onsi/gomega from 1.28.0 to 1.28.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/471](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/471) - vendor: bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/469](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/469) - vendor: bump github.com/container-storage-interface/spec from 1.8.0 to 1.9.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/477](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/477) - vendor: bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/475](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/475) - vendor: bump github.com/onsi/gomega from 1.28.1 to 1.29.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/474](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/474) - vendor: bump google.golang.org/grpc from 1.58.3 to 1.59.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/476](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/476) - vendor: bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/480](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/480) - Fix corner cases bugs found in CEL validation by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/481](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/481) - Explicitly disable gRPC idle timeout by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/482](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/482) - vendor: bump github.com/onsi/gomega from 1.29.0 to 1.30.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/483](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/483) - ci: update dependabot for group updates by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/484](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/484) - vendor: bump the github-dependencies group with 1 update by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/485](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/485) - ci: update group rules for dependabot by [@​Madhu-1](https://togithub.com/Madhu-1) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/487](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/487) - update to proper message on a successful fence op by [@​rakeshgm](https://togithub.com/rakeshgm) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488) - vendor: bump the k8s-dependencies group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/489](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/489) - send NetworkFence requests to the leading CSI-Addons sidecar by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/492](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/492) - ci: bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/494](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/494) - connection: track Namespace of driver Pods to locate Leases by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/496](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/496) - replication: send VolumeReplication operations to the leading controller by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/495](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/495) - reclaimspace: send ControllerReclaimSpace operations to the leading controller by [@​nixpanic](https://togithub.com/nixpanic) in [https://github.com/csi-addons/kubernetes-csi-addons/pull/493](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/493) #### New Contributors - [@​riya-singhal31](https://togithub.com/riya-singhal31) made their first contribution in [https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403) - [@​rakeshgm](https://togithub.com/rakeshgm) made their first contribution in [https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488) **Full Changelog**: csi-addons/kubernetes-csi-addons@v0.7.0...v0.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
CEL is the preferred way due to its advantages over webhooks and CEL is beta in 1.25 and will be GA in 1.29 we can avoid the burden of maintenance and code complexity of webhook if we move from webhook to CEL.
This PR removed all the webhook-related stuff and added CEL for CR validation.
Mode details about CEL at https://kubernetes.io/blog/2022/09/29/enforce-immutability-using-cel/