From 8f1bdd55961e1e898c6543ab1bff6f800bd02c39 Mon Sep 17 00:00:00 2001 From: pieter Date: Sat, 7 Feb 2026 00:12:01 +0000 Subject: [PATCH] =?UTF-8?q?templates/service.yaml=20=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/service.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/service.yaml diff --git a/templates/service.yaml b/templates/service.yaml new file mode 100644 index 0000000..19270d1 --- /dev/null +++ b/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "postgresql.fullname" . }} + labels: + {{- include "postgresql.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: postgres + protocol: TCP + name: postgres + selector: + {{- include "postgresql.selectorLabels" . | nindent 4 }}