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