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

Allow to manually manage single users #3

Open
gp42 opened this issue Dec 19, 2021 · 0 comments
Open

Allow to manually manage single users #3

gp42 opened this issue Dec 19, 2021 · 0 comments

Comments

@gp42
Copy link
Owner

gp42 commented Dec 19, 2021

Current operator allows to synchronise IAM groups, but sometimes it is required to create a single user record which does not belong to IAM group.

For example, the following configuration:

apiVersion: auth.ops42.org/v1alpha1
kind: AwsAuthSyncConfig
metadata:
  name: default
  namespace: kube-system
spec:
  mapUsers:
    - userarn: arn:aws:iam::677983237296:user/john
      username: john # optional, defaults to AWS username
      groups:
        - dev-operator-k8s-admins
        - dev-operator-k8s-users

Should result in the following AWS Auth configmap:

...
  mapUsers: |
    - userarn: arn:aws:iam::677983237296:user/john
      username: john
      groups:
      - dev-operator-k8s-admins
      - dev-operator-k8s-users

This functionality should support combining with syncIamGroups configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant