2025-09-21 01:23:35 +03:00

19 lines
486 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "warframe-db.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "warframe-db.name" . }}
{{- with .Values.service.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- name: postgres
port: {{ .Values.service.port }}
targetPort: {{ .Values.postgres.port }}
selector:
app.kubernetes.io/name: {{ include "warframe-db.name" . }}