Skip to content

Commit 818881b

Browse files
authored
Add custom redinessprobe timeout (#407)
1 parent 398ae79 commit 818881b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/mattermost/helpers.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ func setProbes(customLiveness, customReadiness corev1.Probe) (*corev1.Probe, *co
127127
readiness.PeriodSeconds = customReadiness.PeriodSeconds
128128
}
129129

130+
if customReadiness.TimeoutSeconds != 0 {
131+
readiness.TimeoutSeconds = customReadiness.TimeoutSeconds
132+
}
133+
130134
if customReadiness.FailureThreshold != 0 {
131135
readiness.FailureThreshold = customReadiness.FailureThreshold
132136
}

0 commit comments

Comments
 (0)