Git Product home page Git Product logo

estafette-gcp-service-account's Introduction

estafette-gcp-service-account

This small Kubernetes application creates and renews Let's Encrypt SSL certificates in any secret with the correct annotations

License

Why?

In order to create GCP service accounts and store their keyfiles in Kubernetes secrets. This improves developer self-service.

Installation

Create a google service account with keyfile and the following roles:

Service Account Admin
Service Account Key Admin

Prepare using Helm:

brew install kubernetes-helm
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --wait

Then install or upgrade with Helm:

helm repo add estafette https://helm.estafette.io
helm upgrade --install estafette-gcp-service-account --namespace estafette estafette/estafette-gcp-service-account

estafette-gcp-service-account's People

Contributors

jorritsalverda avatar jubbasmail avatar msharbaji avatar vitorarins avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

renuka-sharma

estafette-gcp-service-account's Issues

Adopt new versioning strategy

Uses a fixed patch number and moves the autoincrement into the label; the release branch is the next milestone, for which the label in the version number will be dropped.

Add workload identity annotation to service account from gcp-service-account annotation

For kubernetes service accounts with an annotation like the following

    estafette.io/gcp-service-account: "true"
    estafette.io/gcp-service-account-name: <sa-friendly-name>

the controller should use the friendly name to look up the gcp service account id and set the following annotation on the kubernetes service account.

iam.gke.io/gcp-service-account: <sa id>

See https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

Fix liveness endpoint

The estafette-foundation library version in use listens to port 500 instead of default 5000; upgrading to latest estafette-foundation will fix the issue.

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.