-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
authconfigmap: command to manipulate aws auth configmap #625
Comments
For the record, we have a712049 that reverted the first implementation, so that can be reverted back. |
xref #62 |
Somre more thoughts on naming
So more options
|
If it is helpful, our use case is that we have four IAM roles: eksctl, read-only, developer, and admin. Our AWS accounts have no access rights except to assume one (or more) of those roles based on group membership. When we create a new cluster, we have a horrible bash script that inserts into the aws-auth configmap a few lines after the line:
The RBAC parts we can manage easily enough, but automated edits to that file are a real pain. |
Keeping in mind the replacement of the
which will have single role mappings as custom objects named
Some remarks
|
@rndstr correct as of now it uses Couple things to to note, these are cluster wide resources so namespacing shouldn't be taken into consideration since they only provide authentication not authorization.
|
PR #623 attempted to add a command to modify the auth configmap but its location and command hierarchy needs a bit more discussion.
The auth ConfigMap is in
kube-system
and namedaws-auth
. It contains various mappings of IAM/AWS entities to Kubernetes groups.More information at
A. command design
The command should provide the following invocations (with description of current implementation of feature)
Some ideas and the start of the discussion can be found in #623.
It seems like that the following fulfills most of our constraints:
some variations:
add => map && remove => unmap
aws-auth => auth
B. command behavior
Further discussion can be had about changing the way commands behave:
The text was updated successfully, but these errors were encountered: