harbor/make/kubernetes/templates/ingress.yaml

23 lines
404 B
YAML
Raw Normal View History

2017-11-24 09:13:46 +01:00
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: harbor
spec:
rules:
- host: {{hostname}}
http:
paths:
- path: /
backend:
serviceName: ui
servicePort: 80
- path: /v2
backend:
serviceName: registry
servicePort: repo
- path: /service
backend:
serviceName: ui
servicePort: 80