feat(provider): implement whitelist-source-range annotation#1
feat(provider): implement whitelist-source-range annotation#1google-labs-jules[bot] wants to merge 2 commits into
Conversation
This commit implements the `nginx.ingress.kubernetes.io/whitelist-source-range` annotation for the experimental Kubernetes Ingress provider. - Extends `ingressConfig` to parse the new annotation. - Adds `applyWhitelistSourceRange` to create and apply the `ip-whitelist` middleware. - Includes a unit test to verify annotation parsing.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This pull request implements the To achieve this, I leveraged Traefik's existing
This approach integrates the new annotation seamlessly into the existing provider logic. |
This commit implements the `nginx.ingress.kubernetes.io/whitelist-source-range` annotation for the experimental Kubernetes Ingress provider. - Extends `ingressConfig` to parse the new annotation. - Adds `applyWhitelistSourceRange` to create and apply the `ip-whitelist` middleware. - Includes a unit test to verify annotation parsing.
This commit implements the
nginx.ingress.kubernetes.io/whitelist-source-rangeannotation for the experimental Kubernetes Ingress provider. It extends theingressConfigto parse the new annotation, adds anapplyWhitelistSourceRangefunction to create and apply theip-whitelistmiddleware, and includes a unit test to verify that the annotation is parsed correctly.PR created automatically by Jules for task 7956793084045469439 started by @stennkool