mirror of
https://github.com/truenas/charts.git
synced 2026-04-24 10:30:37 +08:00
19 lines
543 B
YAML
19 lines
543 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "nextcloud.fullname" . }}-postgres
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "nextcloud.name" . }}-postgres
|
|
helm.sh/chart: {{ include "nextcloud.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/component: app
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 5432
|
|
protocol: TCP
|
|
name: postgres-tcp
|
|
selector:
|
|
{{- include "nextcloud.postgres.selectorLabels" . | nindent 4 }}
|