From 1b1f81bcfb9a2635b1c3228365de4413e93f560d Mon Sep 17 00:00:00 2001 From: Aleksandar Petrov <8142643+aleks-p@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:33:19 -0300 Subject: [PATCH] Fix template issue with Helm 3.8.1 --- .../helm/pyroscope/templates/deployments-statefulsets.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operations/pyroscope/helm/pyroscope/templates/deployments-statefulsets.yaml b/operations/pyroscope/helm/pyroscope/templates/deployments-statefulsets.yaml index d2bd71a643..b6162ab30a 100644 --- a/operations/pyroscope/helm/pyroscope/templates/deployments-statefulsets.yaml +++ b/operations/pyroscope/helm/pyroscope/templates/deployments-statefulsets.yaml @@ -97,7 +97,7 @@ spec: path: /ready port: {{ $values.service.port_name }} scheme: {{ $values.service.scheme }} - {{- if and (hasKey $values "readinessProbe") (hasKey $values.readinessProbe "initialDelaySeconds") }} + {{- if ($values.readinessProbe).initialDelaySeconds }} initialDelaySeconds: {{ $values.readinessProbe.initialDelaySeconds }} {{- end }} volumeMounts: