From 2ba10bdc92bf0bae163c28bdef0e7abf21a49fa2 Mon Sep 17 00:00:00 2001 From: pieter Date: Wed, 19 Nov 2025 11:08:16 +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..a1c988d --- /dev/null +++ b/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "{{ .Chart.Name }}.fullname" . }} + labels: + {{- include "{{ .Chart.Name }}.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: 80 + protocol: TCP + name: http + selector: + {{- include "{{ .Chart.Name }}.selectorLabels" . | nindent 4 }}