Skip to content

Kubernetes operator to work with the aws-auth configmap

License

Notifications You must be signed in to change notification settings

TierMobility/aws-auth-operator

Repository files navigation

aws-auth-operator

Customized User/Role mapping from AWS to EKS

based on Kopf: https://kopf.readthedocs.io/en/latest/

backgound information

Maps a custom resource definition to an entry in the aws-auth configmap described here: https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html

Also logs the changes to the aws-auth configmap to stdout.

An example crd is in the example folder.

installation

  • install minikube
  • kubectl apply -f crds.yaml
  • pipenv install
  • pipenv run kopf run aws-auth.py

testing example

  • kubectl apply -f example/test.yaml
  • kubectl -n kube-system get cm aws-auth -o yaml

About

Kubernetes operator to work with the aws-auth configmap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published