k8s/helm-charts/harbor/templates/database/database-svc.yaml

14 lines
311 B
YAML
Raw Normal View History

2023-11-16 19:42:02 +10:00
{{- if eq .Values.database.type "internal" -}}
apiVersion: v1
kind: Service
metadata:
name: "{{ template "harbor.database" . }}"
labels:
{{ include "harbor.labels" . | indent 4 }}
spec:
ports:
- port: 5432
selector:
{{ include "harbor.matchLabels" . | indent 4 }}
component: database
{{- end -}}