Skip to content

Instantly share code, notes, and snippets.

@kschoche
kschoche / gossipbootstrapping.mdx
Last active January 11, 2022 20:26
How to test gossip bootstrapping
  1. Check out consul-vault-base branch of the consul-k8s repo. You will not need to build anything, just reference the chart directory.
  2. Download the Vault helm chart helm repo add hashicorp https://helm.releases.hashicorp.com.
  3. Using the below as your vault-val.yaml, install helm:

helm install vault hashicorp/vault -f vault-val.yaml

global:
  enabled: true
server:
@kawsark
kawsark / vault-agent-pki
Last active December 20, 2023 12:50
Vault Agent with PKI certificate rendering
### Configure variables
These variables will be used for this snippet. Please substitute accordingly.
```bash
export RootCAName="root_ca"
export InterCAName="inter_ca"
export CommonName="hashidemos.io"
export InterCommonName="inter.hashidemos.io"
export Root_CA_ttl="730h"
export Inter_CA_ttl="350h"
export Cert_ttl="8h"