Skip to content

Allow to manually manage single users #3

@gp42

Description

@gp42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions