Skip to content

Instantly share code, notes, and snippets.

@voraviz
Created February 22, 2021 09:09
Show Gist options
  • Save voraviz/48eb73294b4b6153e8ee11bba8bdae0d to your computer and use it in GitHub Desktop.
Save voraviz/48eb73294b4b6153e8ee11bba8bdae0d to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: frontend-gateway
namespace: control-plane
spec:
selector:
istio: ingressgateway # use istio default controller
servers:
- port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE # For TLS only use SIMPLE, for mTLS use MUTUAL
credentialName: frontend-credential
hosts:
- 'frontend.DOMAIN'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment