Created
October 21, 2021 03:13
-
-
Save Vertiwell/fc5a07c5fbf23964aabb32a303dc6b48 to your computer and use it in GitHub Desktop.
consul hashicorp/consul
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Vault CLI | |
curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - && apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" && apt-get update && apt-get install vault | |
# Grab the Helm chart repo | |
helm repo add hashicorp https://helm.releases.hashicorp.com && helm repo update | |
# Create custom values file for Consul (Used as backend storage) | |
# Helm Chart Values Consul: https://github.com/hashicorp/consul-helm/blob/master/values.yaml | |
printf "server:\n resources:\n requests:\n memory: '512Mi'\n cpu: '500m'\n limits:\n memory: '512Mi'\n cpu: '500m'\n storageClass: 'cstor-csi'\n storage: 2Gi\nclient:\n resources:\n requests:\n memory: '512Mi'\n cpu: '500m'\n limits:\n memory: '512Mi'\n cpu: '500m'\nui:\n enabled: true\nconnectInject:\n enabled: true\n default: true\ncontroller:\n enabled: true\n" > config.yaml | |
helm install consul hashicorp/consul -f config.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment