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

feat(eks): default masters role #9464

Merged
merged 6 commits into from
Aug 5, 2020
Merged

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Aug 5, 2020

If mastersRole is not specified, we now define a default IAM role that can be assumed by anyone (with permissions) in the account.

This will allow users to interact with the cluster through kubectl by issuing the aws eks update-kubeconfig command with the appropriate --role-arn option, as specified in the CFN output.

Fixes #9463


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

    
If `mastersRole` is not specified, we now define a default IAM role that can be assumed by anyone (with permissions) in the account.
    
If `mastersRole` is not specified, we now define a default IAM role that can be assumed by anyone (with permissions) in the account.
    
This will allow users to interact with the cluster through `kubectl` by issuing the `aws eks update-kubeconfig` command with the appropriate `--role-arn` option, as specified in the CFN output.
    
Fixes #9463
@eladb eladb requested a review from iliapolo August 5, 2020 17:40
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 5, 2020
@iliapolo iliapolo added the pr/do-not-merge This PR should not be merged at this time. label Aug 5, 2020
Copy link
Contributor

@iliapolo iliapolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor docs stuff. Added the do-not-merge label.

packages/@aws-cdk/aws-eks/README.md Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-eks/README.md Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-eks/lib/cluster.ts Show resolved Hide resolved
Elad Ben-Israel and others added 2 commits August 5, 2020 23:45
@eladb eladb removed the pr/do-not-merge This PR should not be merged at this time. label Aug 5, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: bfc6828
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Aug 5, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit b80c271 into master Aug 5, 2020
@mergify mergify bot deleted the benisrae/eks-improve-default-role branch August 5, 2020 21:13
eladb pushed a commit that referenced this pull request Aug 10, 2020
If `mastersRole` is not specified, we now define a default IAM role that can be assumed by anyone (with permissions) in the account.
        
This will allow users to interact with the cluster through `kubectl` by issuing the `aws eks update-kubeconfig` command with the appropriate `--role-arn` option, as specified in the CFN output.
    
Fixes #9463


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[aws-eks] Default masters role
3 participants