Skip to content

Instantly share code, notes, and snippets.

@salrashid123
Created February 6, 2018 15:17
Show Gist options
  • Save salrashid123/399fade1af338fe37e5f75c7a911b270 to your computer and use it in GitHub Desktop.
Save salrashid123/399fade1af338fe37e5f75c7a911b270 to your computer and use it in GitHub Desktop.
istio_doc_ingress
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: gateway
annotations:
kubernetes.io/ingress.class: "istio"
kubernetes.io/ingress.allowHTTP: "false"
spec:
tls:
- secretName: istio-ingress-certs
rules:
- http:
paths:
- path: /.*
backend:
serviceName: myapp-srv
servicePort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment