Compare commits
1 Commits
c8fed6a1ae
...
ce2ba9729d
Author | SHA1 | Date | |
---|---|---|---|
ce2ba9729d
|
@@ -16,25 +16,6 @@ spec:
|
|||||||
hostnames:
|
hostnames:
|
||||||
- harbor.alexlebens.net
|
- harbor.alexlebens.net
|
||||||
rules:
|
rules:
|
||||||
- matches:
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /api/
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /service/
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /v2/
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /c/
|
|
||||||
backendRefs:
|
|
||||||
- group: ''
|
|
||||||
kind: Service
|
|
||||||
name: harbor-core
|
|
||||||
port: 80
|
|
||||||
weight: 100
|
|
||||||
- matches:
|
- matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
@@ -42,6 +23,55 @@ spec:
|
|||||||
backendRefs:
|
backendRefs:
|
||||||
- group: ''
|
- group: ''
|
||||||
kind: Service
|
kind: Service
|
||||||
name: harbor-portal
|
name: harbor
|
||||||
port: 80
|
port: 80
|
||||||
weight: 100
|
weight: 100
|
||||||
|
|
||||||
|
# ---
|
||||||
|
# apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
# kind: HTTPRoute
|
||||||
|
# metadata:
|
||||||
|
# name: http-route-harbor
|
||||||
|
# namespace: {{ .Release.Namespace }}
|
||||||
|
# labels:
|
||||||
|
# app.kubernetes.io/name: http-route-harbor
|
||||||
|
# app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
# app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
# spec:
|
||||||
|
# parentRefs:
|
||||||
|
# - group: gateway.networking.k8s.io
|
||||||
|
# kind: Gateway
|
||||||
|
# name: traefik-gateway
|
||||||
|
# namespace: traefik
|
||||||
|
# hostnames:
|
||||||
|
# - harbor.alexlebens.net
|
||||||
|
# rules:
|
||||||
|
# - matches:
|
||||||
|
# - path:
|
||||||
|
# type: PathPrefix
|
||||||
|
# value: /api/
|
||||||
|
# - path:
|
||||||
|
# type: PathPrefix
|
||||||
|
# value: /service/
|
||||||
|
# - path:
|
||||||
|
# type: PathPrefix
|
||||||
|
# value: /v2/
|
||||||
|
# - path:
|
||||||
|
# type: PathPrefix
|
||||||
|
# value: /c/
|
||||||
|
# backendRefs:
|
||||||
|
# - group: ''
|
||||||
|
# kind: Service
|
||||||
|
# name: harbor-core
|
||||||
|
# port: 443
|
||||||
|
# weight: 100
|
||||||
|
# - matches:
|
||||||
|
# - path:
|
||||||
|
# type: PathPrefix
|
||||||
|
# value: /
|
||||||
|
# backendRefs:
|
||||||
|
# - group: ''
|
||||||
|
# kind: Service
|
||||||
|
# name: harbor-portal
|
||||||
|
# port: 443
|
||||||
|
# weight: 100
|
||||||
|
@@ -35,7 +35,7 @@ harbor:
|
|||||||
image:
|
image:
|
||||||
repository: goharbor/nginx-photon
|
repository: goharbor/nginx-photon
|
||||||
tag: v2.13.0
|
tag: v2.13.0
|
||||||
replicas: 0
|
replicas: 2
|
||||||
portal:
|
portal:
|
||||||
image:
|
image:
|
||||||
repository: goharbor/harbor-portal
|
repository: goharbor/harbor-portal
|
||||||
|
Reference in New Issue
Block a user