File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -72,17 +72,10 @@ spec:
7272 volumes :
7373 {{- toYaml . | nindent 4 }}
7474 {{- end }}
75- {{- with .Values.fluentbit.livenessProbe }}
76- {{- if .enabled }}
75+ {{- if .Values.fluentbit.livenessProbe.enabled }}
7776 livenessProbe :
78- httpGet :
79- port : 2020
80- path : /
81- initialDelaySeconds : {{ .initialDelaySeconds }}
82- periodSeconds : {{ .periodSeconds }}
83- timeoutSeconds : {{ .timeoutSeconds }}
84- successThreshold : {{ .successThreshold }}
85- failureThreshold : {{ .failureThreshold }}
77+ {{- with omit .Values.fluentbit.livenessProbe "enabled" }}
78+ {{- toYaml . | nindent 4 }}
8679 {{- end }}
8780 {{- end }}
8881 {{- with .Values.fluentbit.additionalVolumesMounts }}
Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ fluentbit:
9595 metricRelabelings : []
9696 livenessProbe :
9797 enabled : true
98+ httpGet :
99+ port : 2020
100+ path : /
98101 initialDelaySeconds : 10
99102 periodSeconds : 10
100103 timeoutSeconds : 15
You can’t perform that action at this time.
0 commit comments