try fixing probes a bit (#653)
* try fixing probes a bit * port kah probe changes
This commit is contained in:
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources:
|
sources:
|
||||||
type: library
|
type: library
|
||||||
version: 6.5.0
|
version: 6.5.1
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ Probes selection logic.
|
|||||||
|
|
||||||
{{- range $probeName, $probe := .Values.probes }}
|
{{- range $probeName, $probe := .Values.probes }}
|
||||||
{{- if $probe.enabled -}}
|
{{- if $probe.enabled -}}
|
||||||
|
{{- $probeType = "TCP" -}}
|
||||||
{{- "" | nindent 0 }}
|
{{- "" | nindent 0 }}
|
||||||
{{- $probeName }}Probe:
|
{{- $probeName }}Probe:
|
||||||
{{- if $probe.custom -}}
|
{{- if $probe.custom -}}
|
||||||
@@ -33,7 +34,11 @@ Probes selection logic.
|
|||||||
{{- "tcpSocket:" | nindent 2 }}
|
{{- "tcpSocket:" | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if $primaryPort.targetPort }}
|
||||||
|
{{- printf "port: %v" $primaryPort.targetPort | nindent 4 }}
|
||||||
|
{{- else}}
|
||||||
{{- printf "port: %v" $primaryPort.port | nindent 4 }}
|
{{- printf "port: %v" $primaryPort.port | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
{{- printf "initialDelaySeconds: %v" $probe.spec.initialDelaySeconds | nindent 2 }}
|
{{- printf "initialDelaySeconds: %v" $probe.spec.initialDelaySeconds | nindent 2 }}
|
||||||
{{- printf "failureThreshold: %v" $probe.spec.failureThreshold | nindent 2 }}
|
{{- printf "failureThreshold: %v" $probe.spec.failureThreshold | nindent 2 }}
|
||||||
{{- printf "timeoutSeconds: %v" $probe.spec.timeoutSeconds | nindent 2 }}
|
{{- printf "timeoutSeconds: %v" $probe.spec.timeoutSeconds | nindent 2 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user