From 5f8a537094cd567b441f501ae756b88d43856604 Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Thu, 6 Jan 2022 17:34:33 +0000 Subject: [PATCH] fix helm chart syntax error --- chart/templates/ws-proxy-deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/templates/ws-proxy-deployment.yaml b/chart/templates/ws-proxy-deployment.yaml index 956d9ac684d0dc..a5badb476ae42e 100644 --- a/chart/templates/ws-proxy-deployment.yaml +++ b/chart/templates/ws-proxy-deployment.yaml @@ -52,10 +52,10 @@ spec: secret: secretName: {{ $.Values.certificatesSecret.secretName }} {{- end }} -{{- if $.comp.hostKeySecretName }} +{{- if $comp.hostKeySecretName }} - name: host-key secret: - secretName: {{ $.comp.hostKeySecretName }} + secretName: {{ $comp.hostKeySecretName }} {{- end }} enableServiceLinks: false containers: @@ -90,7 +90,7 @@ spec: - name: config-certificates mountPath: "/mnt/certificates" {{- end }} -{{- if $.comp.hostKeySecretName }} +{{- if $comp.hostKeySecretName }} - name: host-key mountPath: "/mnt/host-key" {{- end }}