From 84cb4384fbaa1d134c512451d2a4c498f7487154 Mon Sep 17 00:00:00 2001 From: pieter Date: Wed, 3 Dec 2025 10:52:14 +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..fe3eba9 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 "yourls-nginx.fullname" . }} labels: - {{- include "{{ .Chart.Name }}.labels" . | nindent 4 }} + {{- include "yourls-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 "yourls-nginx.selectorLabels" . | nindent 4 }} \ No newline at end of file