From 7cf591d1929ad619989ba1687b3226f700ac93cb Mon Sep 17 00:00:00 2001 From: pieter Date: Sun, 15 Feb 2026 08:08:08 +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..3c25791 --- /dev/null +++ b/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "nginx-redirect.fullname" . }} + labels: + {{- include "nginx-redirect.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: {{ .Values.service.targetPort }} + protocol: TCP + name: http + selector: + {{- include "nginx-redirect.selectorLabels" . | nindent 4 }} \ No newline at end of file