Fix probe bug in common chart
This commit is contained in:
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources:
|
sources:
|
||||||
type: library
|
type: library
|
||||||
version: 6.3.2
|
version: 6.3.3
|
||||||
|
|||||||
@@ -18,17 +18,17 @@ Probes selection logic.
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if and $primaryService $primaryPort -}}
|
{{- if and $primaryService $primaryPort -}}
|
||||||
{{- if $probe.type -}}
|
{{- if $probe.type -}}
|
||||||
{{- $probeType := $probe.type -}}
|
{{- $probeType = $probe.type -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- if $primaryPort.protocol -}}
|
{{- if $primaryPort.protocol -}}
|
||||||
{{- $probeType := $primaryPort.protocol -}}
|
{{- $probeType = $primaryPort.protocol -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if or ( eq $probeType "HTTP" ) ( eq $probeType "HTTP" ) -}}
|
{{- if or ( eq $probeType "HTTPS" ) ( eq $probeType "HTTP" ) -}}
|
||||||
{{- "httpGet:" | nindent 2 }}
|
{{- "httpGet:" | nindent 2 }}
|
||||||
{{- printf "path: %v" $probe.path | nindent 4 }}
|
{{- printf "path: %v" $probe.path | nindent 4 }}
|
||||||
{{- printf "scheme: %v" $primaryPort.protocol | nindent 4 }}
|
{{- printf "scheme: %v" $probeType | nindent 4 }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- "tcpSocket:" | nindent 2 }}
|
{{- "tcpSocket:" | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user