Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 627 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 627 Bytes

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