aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.21k stars 316 forks source link

[EKS] [request]: Need External OAUTH Authentication using auth-url and auth-signin annotations in ALB load balancer controller to use an external authentication provider. #1896

Open fauziam opened 1 year ago

fauziam commented 1 year ago

Community Note

Tell us about your request What do you want us to build? Customer has 3 micro services running in EKS cluster. They want to authenticate the services with JWT token using their own authentication mechanism "user-services/authenticate". They want similar feature in ALB Ingress controller as in nginx-ingress controller annotations to authenticate EKS services via their custom authentication provider.

metadata: name: application annotations: nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth" nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri" ...

https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/

Currently ALB ingress controller offers authentication with Cognito and OIDC only. Due to this limitation customer wants to shift to nginx ingress controller.

Customer EKS cluster Kubernetes version is 1.22. Starting with Amazon EKS 1.22, Amazon EKS is decoupling AWS cloud specific control logic from core control plane code to the out-of-tree AWS Kubernetes Cloud Controller Manager. AWS cloud provider is migrating from In-Tree, the in-tree cloud provider code has mostly stopped accepting new features. The in-tree plugins will be removed in a future release of Kubernetes. Due to this shift in future, customer will face complications using nginx ingress controller in AWS environment.

Amazon EKS Kubernetes version 1.22 end of support date is May 2023 after which Amazon will not provide patching or security support for version 1.22. To continue getting Amazon EKS support, customer will need to upgrade Amazon EKS cluster Kubernetes version to 1.23.

Which service(s) is this request for? EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

Are you currently working around this issue? How are you currently solving this problem?

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

sabinayakc commented 1 year ago

Any update on this request?

ri-roee commented 3 weeks ago

Bump on this please :) It's a complete blocker for us from using ALB unfortunately