
This PS adds harbor-helm [0] [0] https://github.com/goharbor/harbor-helm Change-Id: I0bbef1f3504bc1fe51e2dc50b071cb1acb00734d
17 lines
428 B
YAML
17 lines
428 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "harbor.core" . }}
|
|
labels:
|
|
{{ include "harbor.labels" . | indent 4 }}
|
|
spec:
|
|
{{- if (eq .Values.expose.ingress.controller "gce") }}
|
|
type: NodePort
|
|
{{- end }}
|
|
ports:
|
|
- port: {{ template "harbor.core.servicePort" . }}
|
|
targetPort: {{ template "harbor.core.containerPort" . }}
|
|
selector:
|
|
{{ include "harbor.matchLabels" . | indent 4 }}
|
|
component: core
|