Skip to content

Instantly share code, notes, and snippets.

@Toflar
Created October 23, 2018 15:39
Show Gist options
  • Save Toflar/0af6b6899a20ea0d4071792c1b10178b to your computer and use it in GitHub Desktop.
Save Toflar/0af6b6899a20ea0d4071792c1b10178b to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ .Values.web.name }}-ingress
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: {{ .Values.web.host }}
http:
paths:
- backend:
serviceName: {{ .Values.web.name }}
servicePort: http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment