caddy-ingess/hack/test/example-ingress.yaml
Marco Vito Moscaritolo 9155435e2d
initial info for contributions (#21)
* initial info for contributions

* Auto update docker images on file changes for skaffold

* improve build time ignoring files that are not relevant
2020-02-23 21:58:46 -07:00

35 lines
735 B
YAML

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: example
annotations:
kubernetes.io/ingress.class: caddy
spec:
rules:
- host: example1.MYDOMAIN.TDL
http:
paths:
- path: /hello2
backend:
serviceName: example2
servicePort: 8080
- path: /hello
backend:
serviceName: example
servicePort: 8080
- host: example2.MYDOMAIN.TDL
http:
paths:
- path: /hello2
backend:
serviceName: example2
servicePort: 8080
- path: /hello
backend:
serviceName: example
servicePort: 8080
# tls:
# - secretName: ssl-example2.MYDOMAIN.TDL
# hosts:
# - example2.caddy.dev