dehuszar / hashistack-config Goto Github PK
View Code? Open in Web Editor NEWRepo for my Raspberry Pi homelab cluster built on HashiCorp's Consul, Nomad, and Vault
Repo for my Raspberry Pi homelab cluster built on HashiCorp's Consul, Nomad, and Vault
Order to provision and run:
provision vault client config
provision vault client tls config
install vault client cert gen service
(if TLS is already enabled) provision starter certificate
build vault config
provision consul client config
provision consul client tls config
provision consul client token
build consul client tls
build consul client config
provision nomad client config
provision nomad client tls
build client cert gen service
build client config tls
install docker (and other) drivers
Not sure why ansible $1 -b -a "complete -C /usr/local/bin/$2 $2"
is not evaluating properly, but it is. Running the command directly from the local works fine.
In a "vault-first" approach, the script would deploy vault servers and their necessary env vars via ansible. Once Vault is running, a pre-ssl vault config would be deployed by terraform to the running cluster to enable tls (PKI engine config should thus live in it's own stack).
Because each service needs to talk to Vault to issue a TLS certificate for it, we need to wait to enable TLS on Vault so that all other services can properly bootstrap. To facilitate this, another script is run to deploy Nomad servers, Consul servers, and Nomad client configurations. The script would
At which point you can make a cocktail and kick back.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.