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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ClusterAccessConfig on EKS Cluster #1027

Closed
blakeromano opened this issue Jan 27, 2024 · 3 comments 路 Fixed by #1171
Closed

Support ClusterAccessConfig on EKS Cluster #1027

blakeromano opened this issue Jan 27, 2024 · 3 comments 路 Fixed by #1171
Assignees
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed

Comments

@blakeromano
Copy link

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Want to be able to setup ClusterAccessConfig to adopt the new authentication method with users into K8s to move off the config map model.

Affected area/feature

EKS authentication/Cluster Features

@blakeromano blakeromano added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Jan 27, 2024
@mjeffryes
Copy link
Contributor

Thanks for filing this request @blakeromano. If you have any other documentation links or details on the context/use case motivating your move off of the config map model that might be useful to who ever pick up this work.

AWS provider resource and example for AccessConfig aws.eks.Cluster | Pulumi Registry
CF property reference AWS::EKS::Cluster AccessConfig - AWS CloudFormation

@mjeffryes mjeffryes removed the needs-triage Needs attention from the triage team label Jan 30, 2024
@TarekAS
Copy link

TarekAS commented Jan 31, 2024

Workaround using transformations:

const cluster = new eks.Cluster("cluster", {
    ...
}, {
    transformations: [args => {
        if (args.type === "aws:eks/cluster:Cluster") {
            args.props["accessConfig"] = {
                authenticationMode: "API_AND_CONFIG_MAP"
            };
        }
        return undefined;
    }]
});

@flostadler
Copy link
Contributor

This was released in version v2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
None yet
5 participants