Skip to content

Commit da1956b

Browse files
author
Maurice Faber
authored
fix: harbor issues (#303)
1 parent 4d8f026 commit da1956b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

charts/harbor/templates/core/core-svc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ spec:
1212
- port: {{ template "harbor.core.servicePort" . }}
1313
# appProtocol: http
1414
targetPort: {{ template "harbor.core.containerPort" . }}
15+
name: http-core
1516
selector:
1617
{{ include "harbor.matchLabels" . | indent 4 }}
1718
component: core

charts/harbor/templates/registry/registry-svc.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ metadata:
66
{{ include "harbor.labels" . | indent 4 }}
77
spec:
88
ports:
9-
- name: registry
9+
- name: http-registry
1010
# appProtocol: http
1111
port: {{ template "harbor.registry.servicePort" . }}
12-
- name: controller
12+
- name: http-controller
1313
# appProtocol: http
1414
port: {{ template "harbor.registryctl.servicePort" . }}
1515
selector:

core.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ services:
4141
svc: harbor-harbor-core
4242
namespace: harbor
4343
ownHost: true
44-
paths: [/api/, /c/, /chartrepo/, /service/]
44+
paths: [/api/, /c/, /chartrepo/]
4545
forwardPath: true
4646
hide: true
4747
isShared: true
4848
- name: harbor
4949
svc: harbor-harbor-core
5050
namespace: harbor
5151
ownHost: true
52-
paths: [/service/token/, /v1/, /v2/]
52+
paths: [/service/, /v1/, /v2/]
5353
forwardPath: true
5454
hide: true
5555
isPublic: true

0 commit comments

Comments
 (0)