You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- if or (gt (len .Values.beyla.envFrom.configMapRefs) 0) (gt (len .Values.beyla.envFrom.secretRefs) 0) }}
160
164
envFrom:
161
165
{{- range .Values.beyla.envFrom.configMapRefs }}
@@ -167,13 +171,13 @@ spec:
167
171
name: {{ . | quote }}
168
172
{{- end }}
169
173
{{- end }}
170
-
{{- if .Values.beyla.memoryRestartThreshold }}
174
+
{{- if and .Values.beyla.memoryRestartThreshold (ne .Values.beyla.memoryRestartThreshold "") }}
171
175
livenessProbe:
172
176
exec:
173
177
command:
174
178
- /bin/sh
175
179
- -c
176
-
- if [ -x /var/lib/better-stack/beyla/healthcheck.sh ]; then /var/lib/better-stack/beyla/healthcheck.sh; else exit 0; fi
180
+
- if [ -x /var/lib/better-stack/beyla/healthcheck.sh ]; then THRESHOLD="{{ .Values.beyla.memoryRestartThreshold }}" /var/lib/better-stack/beyla/healthcheck.sh; else exit 0; fi
0 commit comments