File tree Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1
- 0.1.7 -rc.7
1
+ 0.1.8 -rc.1
Original file line number Diff line number Diff line change @@ -126,23 +126,32 @@ spec:
126
126
containerPort : {{ .Values.image.containerPort | default "8080" }}
127
127
protocol : TCP
128
128
{{- if or ( not .Values.sleep ) (eq .Values.sleep "disabled") }}
129
- livenessProbe :
129
+ {{- if .Values.healthcheck.enabled }}
130
+ startupProbe :
130
131
httpGet :
131
- path : /
132
+ path : {{ .Values.healthcheck.path | default "/" }}
132
133
port : http
133
- initialDelaySeconds : 30
134
- periodSeconds : 15
135
- successThreshold : 1
136
- timeoutSeconds : 3
137
- failureThreshold : 3
134
+ failureThreshold : 90
135
+ periodSeconds : 1
138
136
readinessProbe :
139
137
httpGet :
140
- path : /
138
+ path : {{ .Values.healthcheck.path | default "/" }}
141
139
port : http
140
+ initialDelaySeconds : 2
142
141
periodSeconds : 2
143
142
successThreshold : 1
144
- timeoutSeconds : 2
143
+ timeoutSeconds : {{ .Values.healthcheck.timeoutSeconds | default "3" }}
145
144
failureThreshold : 30
145
+ livenessProbe :
146
+ httpGet :
147
+ path : {{ .Values.healthcheck.path | default "/" }}
148
+ port : http
149
+ initialDelaySeconds : 5
150
+ periodSeconds : 3
151
+ successThreshold : 1
152
+ timeoutSeconds : {{ .Values.healthcheck.timeoutSeconds | default "3" }}
153
+ failureThreshold : 3
154
+ {{- end }}
146
155
{{- end }}
147
156
volumeMounts :
148
157
{{- if and (eq .Values.deploymentstrategy "git") (eq .Values.buildstrategy "plain") }}
Original file line number Diff line number Diff line change @@ -248,4 +248,11 @@ vulnerabilityscan:
248
248
schedule : " 0 0 * * *"
249
249
image :
250
250
repository : aquasec/trivy
251
- tag : latest
251
+ tag : latest
252
+
253
+ healthcheck :
254
+ enabled : true
255
+ path : /
256
+ startupSeconds : 90
257
+ timeoutSeconds : 2
258
+ periodSeconds : 15
You can’t perform that action at this time.
0 commit comments