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

Check ARN for user ID strict check #660

Merged

Conversation

nckturner
Copy link
Contributor

What this PR does / why we need it:

Check ARN when mapping based on User ID. This is necessary because IAM User names/ARNs can change, and without this check, it would be difficult to determine which IAM users currently have access to a cluster.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 7, 2023
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 7, 2023
@nckturner
Copy link
Contributor Author

Update go version in: #661

@nnmin-aws
Copy link
Contributor

/retest

@nckturner nckturner force-pushed the check-arn-for-useridstrict branch 2 times, most recently from 8388d98 to 1203a89 Compare December 7, 2023 21:59
@nckturner
Copy link
Contributor Author

e2e tests passed:

Ginkgo ran 1 suite in 2m21.527008125s
Test Suite Passed
+ TEST_PASSED=0
+ popd
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator
+ set -e
+ set +x

Will look into failure but its not blocking.

Copy link
Member

@micahhausler micahhausler left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 7, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: micahhausler, nckturner

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [micahhausler,nckturner]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nckturner nckturner merged commit c8789f6 into kubernetes-sigs:master Dec 7, 2023
8 checks passed
nckturner added a commit to nckturner/aws-iam-authenticator that referenced this pull request Dec 7, 2023
nckturner added a commit to nckturner/aws-iam-authenticator that referenced this pull request Dec 7, 2023
nckturner added a commit to nckturner/aws-iam-authenticator that referenced this pull request Dec 7, 2023
nckturner added a commit to nckturner/aws-iam-authenticator that referenced this pull request Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants