Skip to content

Instantly share code, notes, and snippets.

@voraviz
Created February 22, 2021 10:06
Show Gist options
  • Save voraviz/aeb5dcff92906b3c3bec932aec84757f to your computer and use it in GitHub Desktop.
Save voraviz/aeb5dcff92906b3c3bec932aec84757f 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: MUTUAL # 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