Skip to content

Instantly share code, notes, and snippets.

@stvdilln
Created February 13, 2020 18:03
Show Gist options
  • Save stvdilln/1133731fd919c23f39d315619b2509dc to your computer and use it in GitHub Desktop.
Save stvdilln/1133731fd919c23f39d315619b2509dc to your computer and use it in GitHub Desktop.
# if you deployed consul with consul-helm then
# you need to verify spec->address matches your
# helm release name. Do a 'kubectl get service'
# to verify your consul server name. Or
# helm list to get the release name
---
apiVersion: getambassador.io/v2
kind: ConsulResolver
metadata:
name: consul-dc1
spec:
address: consul-consul-server.default.svc.cluster.local:8500
datacenter: dc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment