Skip to content

Instantly share code, notes, and snippets.

@Chronojam
Created July 15, 2016 15:33
Show Gist options
  • Save Chronojam/fd23939af3f209312a93317bdbdf3bc9 to your computer and use it in GitHub Desktop.
Save Chronojam/fd23939af3f209312a93317bdbdf3bc9 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "{{ name }}"
spec:
tls:
- secretName: {{ secretName }}
rules:
- host: {{ hostname }} # eg example.com
http:
paths:
- path: "/*"
backend:
serviceName: "{{ name }}" # whatever you called your service
servicePort: {{ port }} # the Port field to direct to on the service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment