mirror of
https://github.com/eliasstepanik/caddy-ingess.git
synced 2026-01-10 20:18:28 +00:00
* initial info for contributions * Auto update docker images on file changes for skaffold * improve build time ignoring files that are not relevant
35 lines
735 B
YAML
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
|