diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index a464cabeca0..b17d81e8f4b 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -18,4 +18,4 @@ maintainers: name: common sources: type: library -version: 6.3.2 +version: 6.3.3 diff --git a/charts/library/common/templates/lib/controller/_probes.tpl b/charts/library/common/templates/lib/controller/_probes.tpl index b0a34cd7ac5..379815729e8 100644 --- a/charts/library/common/templates/lib/controller/_probes.tpl +++ b/charts/library/common/templates/lib/controller/_probes.tpl @@ -18,17 +18,17 @@ Probes selection logic. {{- else }} {{- if and $primaryService $primaryPort -}} {{- if $probe.type -}} - {{- $probeType := $probe.type -}} + {{- $probeType = $probe.type -}} {{- else -}} {{- if $primaryPort.protocol -}} - {{- $probeType := $primaryPort.protocol -}} + {{- $probeType = $primaryPort.protocol -}} {{- end }} {{- end }} - {{- if or ( eq $probeType "HTTP" ) ( eq $probeType "HTTP" ) -}} + {{- if or ( eq $probeType "HTTPS" ) ( eq $probeType "HTTP" ) -}} {{- "httpGet:" | nindent 2 }} {{- printf "path: %v" $probe.path | nindent 4 }} - {{- printf "scheme: %v" $primaryPort.protocol | nindent 4 }} + {{- printf "scheme: %v" $probeType | nindent 4 }} {{- else -}} {{- "tcpSocket:" | nindent 2 }} {{- end }}