Last active
February 13, 2020 20:23
-
-
Save stvdilln/eca5de751bd076e9a567b7779a0088fe to your computer and use it in GitHub Desktop.
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
kubectl apply -f - << EOF | |
# | |
# This mapping maps to the sidecar-proxy | |
# so that Ambassador can do mTLS with Consul | |
--- | |
apiVersion: getambassador.io/v2 | |
kind: Mapping | |
metadata: | |
name: demo-helloworld | |
spec: | |
prefix: /helloworld/ | |
service: demo-helloworld-sidecar-proxy | |
resolver: consul-dc1 | |
tls: ambassador-consul | |
load_balancer: | |
policy: round_robin | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment