Skip to content

Instantly share code, notes, and snippets.

@mjpitz
Last active November 22, 2020 02:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjpitz/f88bac2edfaebd67f2a2148829e053bb to your computer and use it in GitHub Desktop.
Save mjpitz/f88bac2edfaebd67f2a2148829e053bb to your computer and use it in GitHub Desktop.

Supporting configuration for my next blog post on using consul connect to deploy a service mesh on raspberry pis.

# helm repo add hashicorp https://helm.releases.hashicorp.com
# helm repo update
# helm upgrade -i consul hashicorp/consul -n consul -f consul-values.yaml
global:
datacenter: mjpitz
# 1.16 supports both amd64 and arm64 compatible
imageEnvoy: envoyproxy/envoy:v1.16.0
server:
replicas: 1
bootstrapExpect: 1
disruptionBudget:
enabled: true
maxUnavailable: 0
connectInject:
enabled: true
client:
enabled: true
# helm repo add depscloud https://depscloud.github.io/deploy/charts/
# helm repo update
# helm upgrade -i depscloud depscloud/depscloud -f depscloud-values.yaml
extractor:
service:
type: ClusterIP
podAnnotations:
consul.hashicorp.com/connect-inject: 'true'
gateway:
service:
type: ClusterIP
podAnnotations:
consul.hashicorp.com/connect-inject: 'true'
consul.hashicorp.com/connect-service-upstreams: 'depscloud-extractor:9000,depscloud-tracker:9001'
indexer:
schedule: "@daily"
podAnnotations:
consul.hashicorp.com/connect-inject: 'true'
consul.hashicorp.com/connect-service-upstreams: 'depscloud-extractor:9000,depscloud-tracker:9001'
tracker:
service:
type: ClusterIP
podAnnotations:
consul.hashicorp.com/connect-inject: 'true'
consul.hashicorp.com/connect-service-upstreams: 'postgresql-dev:5432'
storage:
driver: postgres
address: postgres://depscloud:depscloud@postgresql-dev:5432/depsclouddb
# helm repo add mjpitz https://mjpitz.github.io/charts/
# helm repo update
# helm upgrade -i postgresql-dev mjpitz/postgresql-dev postgresql-dev-values.yaml
podAnnotations:
consul.hashicorp.com/connect-inject: 'true'
env:
- name: POSTGRES_PASSWORD
value: depscloud
- name: POSTGRES_USER
value: depscloud
- name: POSTGRES_DB
value: depsclouddb
# or pull from a secret
# envFrom: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment