aws-auth-operator icon indicating copy to clipboard operation
aws-auth-operator copied to clipboard

Support mapRoles configuration

Open gp42 opened this issue 3 years ago • 1 comments

In order to fully manage aws-auth configMap, the operator needs to support role mapping.

Example configuration:

  mapRoles: |
    - rolearn: <aws_role_arn>
      username: <username>  # optional, defaults to AWS Role name
      groups:
        - dev-operator-k8s-admins
        - dev-operator-k8s-users

gp42 avatar Dec 19 '21 10:12 gp42

Agree, we have never synced a group or user before, but roles is required for every cluster we manage. Direct usage of IAM users is not AWS best practices anyway.

autarchprinceps avatar Mar 18 '22 10:03 autarchprinceps