From c20199b5d72eb77bd6c806926390c64c83e1ca2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Tue, 25 Oct 2022 19:33:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/jumpserver/templates/magnus/deployment-magnus.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/jumpserver/templates/magnus/deployment-magnus.yaml b/charts/jumpserver/templates/magnus/deployment-magnus.yaml index bd41d1f..989e768 100644 --- a/charts/jumpserver/templates/magnus/deployment-magnus.yaml +++ b/charts/jumpserver/templates/magnus/deployment-magnus.yaml @@ -66,7 +66,7 @@ spec: {{- else }} failureThreshold: 30 tcpSocket: - port: magnus-{{ template "jumpserver.magnus.port.start" }} + port: magnus-{{ $magnusPortStart }} {{- end }} readinessProbe: {{- if .readinessProbe }} @@ -74,7 +74,7 @@ spec: {{- else }} failureThreshold: 30 tcpSocket: - port: magnus-{{ template "jumpserver.magnus.port.start" }} + port: magnus-{{ $magnusPortStart }} {{- end }} resources: {{- toYaml .resources | nindent 12 }}