From 1e690ec3b7aef2f5b2513889067f1f22110ceff4 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Fri, 30 Dec 2022 16:53:03 +0200 Subject: [PATCH] small probe change --- library/common/1.0.0/templates/lib/container/_probes.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/common/1.0.0/templates/lib/container/_probes.tpl b/library/common/1.0.0/templates/lib/container/_probes.tpl index 7e304eacba..0d22b0093d 100644 --- a/library/common/1.0.0/templates/lib/container/_probes.tpl +++ b/library/common/1.0.0/templates/lib/container/_probes.tpl @@ -53,8 +53,9 @@ {{- $_ := set $tmpProbe "name" $probeName -}} {{- $_ := set $tmpProbe "spec" $probe.spec -}} {{- $_ := set $tmpProbe "type" $probeType -}} - {{- $_ := set $tmpProbe "port" $probePort }} -{{ $probeName }}Probe: + {{- $_ := set $tmpProbe "port" $probePort -}} + + {{ printf "%sProbe:" $probeName | nindent 0 }} {{- if mustHas $probeType (list "HTTPS" "HTTP") -}} {{- $_ := set $tmpProbe "path" $probe.path -}} {{- $_ := set $tmpProbe "httpHeaders" $probe.httpHeaders -}}