kubernetes-sigs / aws-load-balancer-controller

A Kubernetes controller for Elastic Load Balancers
https://kubernetes-sigs.github.io/aws-load-balancer-controller/
Apache License 2.0
3.82k stars 1.41k forks source link

Add OIDC configuration auto discovery support #3747

Open omerap12 opened 2 weeks ago

omerap12 commented 2 weeks ago

Issue

2921

Description

Introduced new functionality to alb.ingress.kubernetes.io/auth-idp-oidc annotation, support for OIDC configuration using discoveryEndpoint to fetch OIDC details dynamically. Enhanced documentation with instructions and example for using discoveryEndpoint in OIDC configuration. Created unit tests to validate the implementation and functionality of OIDC Discovery feature.

Checklist

BONUS POINTS checklist: complete for good vibes and maybe prizes?! :exploding_head:

k8s-ci-robot commented 2 weeks ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: omerap12 Once this PR has been reviewed and has the lgtm label, please assign johngmyers for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov-commenter commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 43.75000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 18.23%. Comparing base (e5d625f) to head (9621e73).

Files Patch % Lines
pkg/networking/utils.go 0.00% 16 Missing :warning:
pkg/ingress/auth_config_builder.go 87.50% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3747 +/- ## ========================================== + Coverage 18.20% 18.23% +0.02% ========================================== Files 175 175 Lines 29280 29312 +32 ========================================== + Hits 5330 5344 +14 - Misses 23584 23601 +17 - Partials 366 367 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.