Git Product home page Git Product logo

gitops-vault-demo's Introduction

FLUX-VAULT-DEMO

This project is designed to give an overview on how to integrate Vault secrets into your Flux deployed applications.

Setup

Before starting make sure to have the following applications installed:

  • Flux
  • Kind
  • Docker
  • Kubectl
  • Vault - Optional (the demo does not use the cli, but you'll need it if you want to play around on your own)

Set the following environment variables:

  • GITHUB_TOKEN - personal access token used to authenticate with GitHub
  • GITHUB_USER - the GitHub username that will be set as the owner during the Flux bootstrap process

The easiest setup is to fork this project into your own repo, clone the fork, then run

make

This will create a local Kind cluster called flux-vault-demo, bootstrap Flux to your fork, and configure Vault with all the permissions necessary to run this demo.

If you have a different k8s cluster you would like to use instead, run

make flux

to skip the Kind cluster creation and only bootstrap Flux.

If you are not using GitHub for your repository, you can run

make kind

to create a local Kind cluster, but you will need to follow the Flux bootstrap instructions on how to properly setup Flux on your repository.

Cleanup

When you are done with the demo you can run

make cleanup

to remove the demo Kind cluster from your machine.

gitops-vault-demo's People

Contributors

jamwils avatar rparmer avatar opudrovs avatar alinagoaga avatar

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.