Skip to content

Instantly share code, notes, and snippets.

@ranhsd
Last active June 11, 2017 08:58
Show Gist options
  • Save ranhsd/d867d778255a5669ce7795bd5b31d2e4 to your computer and use it in GitHub Desktop.
Save ranhsd/d867d778255a5669ce7795bd5b31d2e4 to your computer and use it in GitHub Desktop.
parse-server-ingress.yml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: my-parse-app-ingress
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: "gce"
spec:
tls:
- hosts:
- api.<YOUR_CUSTOM_DOMAIN_URL> # replace with your custom domain ... e.g. api.myDomain.com
secretName: my-parse-app-secret
rules:
- host: api.<YOUR_CUSTOM_DOMAIN_URL> # replace your custom domain ... e.g. api.myDomain.com
http:
paths:
- path: /*
backend:
serviceName: my-parse-app-service
servicePort: 80
- path: /.well-known/acme-challenge
backend:
serviceName: kube-lego-gce
servicePort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment