Skip to content

priyanka-ravi/flux-vault-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 97.9%
  • Makefile 2.1%