mirror of https://github.com/goharbor/harbor.git
14 lines
320 B
YAML
14 lines
320 B
YAML
{{- if eq .Values.database.type "internal" -}}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: "{{ template "harbor.fullname" . }}-database"
|
|
labels:
|
|
{{ include "harbor.labels" . | indent 4 }}
|
|
spec:
|
|
ports:
|
|
- port: 5432
|
|
selector:
|
|
{{ include "harbor.matchLabels" . | indent 4 }}
|
|
component: database
|
|
{{- end -}} |