Skip to content

Instantly share code, notes, and snippets.

@mikemilano
Created May 14, 2020 00:39
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 mikemilano/9c4be16b4a97c173dd514e846d6f54ba to your computer and use it in GitHub Desktop.
Save mikemilano/9c4be16b4a97c173dd514e846d6f54ba to your computer and use it in GitHub Desktop.
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: kiali-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 443
name: http-kiali
protocol: HTTPS
hosts:
- "kiali.example.com"
tls:
mode: SIMPLE
credentialName: example-tls
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: kiali-vs
namespace: istio-system
spec:
hosts:
- "kiali.example.com"
gateways:
- kiali-gateway
http:
- match:
- port: 443
route:
- destination:
host: kiali
port:
number: 20001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment