Giter Club home page Giter Club logo

eks-irsa-iam-role-maker's Introduction

eks-irsa-iam-role-maker

This component is used when using the cluster bootstrap controller to create IAM roles.

The problem that is being solved is that you might want to create iam roles for service accounts for components installed using CAPI and Flux

there is a chicken egg where you need the trust policy of the cluster to add to the iam role for the service account you want to decorate with IAM permissions via IRSA

all configuration is via envrionment variables at present.

you will need to mount your iam permission json files to be added to the policy of the iam role in /var/policy/.json

Required:

  • NAME (name of the cluster)
  • SA_NAMESPACE (service account namespace)
  • SA_NAME (service account name)
  • IAM_ROLE_NAME_PREFIX (the prefix for the iam role , which has '-$NAME' appended.)

Defaults:

(you should not need to change these)

  • API_SERVER default: https://kubernetes.default.svc
  • SERVICE_ACCOUNT default: /var/run/secrets/kubernetes.io/serviceaccount")
  • *POLICY_FOLDER default: /var/policy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.