charts/charts/harbor/templates/core-svc.yaml
anthony.bellino 7df8c133db feat(chart): adds harbor-helm chart
This PS adds harbor-helm [0]

[0] https://github.com/goharbor/harbor-helm

Change-Id: I0bbef1f3504bc1fe51e2dc50b071cb1acb00734d
2020-12-01 07:12:41 +00:00

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