Last active
June 11, 2017 08:58
-
-
Save ranhsd/d867d778255a5669ce7795bd5b31d2e4 to your computer and use it in GitHub Desktop.
parse-server-ingress.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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