mirror of
https://github.com/goharbor/harbor
synced 2025-04-07 20:07:09 +00:00

The chart currently is using images of Harbor 1.5 which contains three databases, this commit reduce them to only one to support master branch codes.
28 lines
577 B
YAML
28 lines
577 B
YAML
{{ if .Values.notary.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "harbor.notaryServiceName" . }}
|
|
labels:
|
|
{{ include "harbor.labels" . | indent 4 }}
|
|
spec:
|
|
ports:
|
|
- port: 4443
|
|
selector:
|
|
{{ include "harbor.matchLabels" . | indent 4 }}
|
|
component: notary-server
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "harbor.fullname" . }}-notary-signer
|
|
labels:
|
|
{{ include "harbor.labels" . | indent 4 }}
|
|
spec:
|
|
ports:
|
|
- port: 7899
|
|
selector:
|
|
{{ include "harbor.matchLabels" . | indent 4 }}
|
|
component: notary-signer
|
|
{{ end }} |