use CEL for CR validation#459
Merged
Merged
Conversation
nixpanic
reviewed
Sep 26, 2023
nixpanic
left a comment
Member
There was a problem hiding this comment.
just a nit, looks good otherwise
| 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") |
Member
There was a problem hiding this comment.
Please report a warning when the option is passed. Note the name of the option, and that the functionality has been removed.
| return | ||
| } | ||
|
|
||
| if enableAdmissionWebhooks { |
Member
There was a problem hiding this comment.
please squash this into the 1st commit
f63ea38 to
5a894b2
Compare
Pull request has been modified.
nixpanic
approved these changes
Sep 28, 2023
Rakshith-R
approved these changes
Sep 28, 2023
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 <madhupr007@gmail.com>
added csi-addons.clusterserviceversion to gitignore as its not pushed to the repo. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
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 <madhupr007@gmail.com>
5a894b2 to
7689242
Compare
spiceratops
referenced
this pull request
in spiceratops/k8s-gitops
Dec 20, 2023
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-->
coolguy1771
referenced
this pull request
in coolguy1771/home-ops
Dec 22, 2023
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/