mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-16 07:15:13 +01:00
23 lines
404 B
YAML
23 lines
404 B
YAML
|
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
|
||
|
|