From 743f660e799dd5fd9c2194fdd968b26868144502 Mon Sep 17 00:00:00 2001 From: pieter Date: Thu, 20 Nov 2025 07:57:27 +0000 Subject: [PATCH] =?UTF-8?q?templates/service.yaml=20=E3=82=92=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/service.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/service.yaml b/templates/service.yaml index a1c988d..d96fffa 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -1,15 +1,15 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "{{ .Chart.Name }}.fullname" . }} + name: {{ include "wordpress-nginx.fullname" . }} labels: - {{- include "{{ .Chart.Name }}.labels" . | nindent 4 }} + {{- include "wordpress-nginx.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} - targetPort: 80 + targetPort: http protocol: TCP name: http selector: - {{- include "{{ .Chart.Name }}.selectorLabels" . | nindent 4 }} + {{- include "wordpress-nginx.selectorLabels" . | nindent 4 }} \ No newline at end of file