-
Notifications
You must be signed in to change notification settings - Fork 319
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
New flag --namespace-iam-role-key and the ability to request a role at the namespace level #250
base: master
Are you sure you want to change the base?
Conversation
@@ -29,3 +29,4 @@ _testmain.go | |||
/build/ | |||
coverage.out | |||
/vendor/ | |||
.idea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
best use a global .gitignore for that
@@ -47,14 +48,24 @@ func (r *RoleMapper) GetRoleMapping(IP string) (*RoleMappingResult, error) { | |||
return nil, err | |||
} | |||
|
|||
namespace := pod.GetNamespace() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to make this have 0 overhead for everyone else, how about it only fetches the namespace when the flag is enabled ?
The possibility to assign a specific role at the namespace level.
A new flag to specify under which annotation the iam role is present at the namespace level.