Skip to content
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

webhook: support validation rules #2885

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jun 26, 2024

  1. webhook: support validation rules

    Add new webhook admitter that evaluates Ingresses and RouteGroups
    against a set of rules.
    
    The implementation uses [Common Expression Language](https://github.com/google/cel-spec)
    to match properties which is also used in [Kubernetes](https://kubernetes.io/docs/reference/using-api/cel/).
    
    This is similar to work-in-progress Kubernets feature
    https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/#validation-expression
    
    Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
    AlexanderYastrebov committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    980c39f View commit details
    Browse the repository at this point in the history
  2. webhook: add cluster domain check rule example

    Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
    AlexanderYastrebov committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    0fad68f View commit details
    Browse the repository at this point in the history