mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
19 lines
404 B
YAML
19 lines
404 B
YAML
{{ if .Values.infrastructure.postgres.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: '{{ .Release.Name }}-postgres'
|
|
labels:
|
|
component: postgres
|
|
project: '{{ .Chart.Name }}'
|
|
release: '{{ .Release.Name }}'
|
|
spec:
|
|
selector:
|
|
component: postgres
|
|
release: '{{ .Release.Name }}'
|
|
type: ClusterIP
|
|
ports:
|
|
- protocol: TCP
|
|
port: 5432
|
|
targetPort: 5432
|
|
{{- end -}} |