fixed the healthcheck probes taking twice (#44)
* fixed the healthcheck probes taking twice * update version * updated the healthcheck type conditionmain
parent
f3daa15593
commit
46b332fb63
|
|
@ -4,5 +4,5 @@ description: A Helm chart for deploying any custom applications, specifically po
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: improwised
|
- name: improwised
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.3
|
version: 1.2.4
|
||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,7 @@ spec:
|
||||||
timeoutSeconds: 7
|
timeoutSeconds: 7
|
||||||
initialDelaySeconds: {{ .healthcheck.initialDelaySeconds | default $.Values.serviceTemplate.healthcheck.initialDelaySeconds | default "20" }}
|
initialDelaySeconds: {{ .healthcheck.initialDelaySeconds | default $.Values.serviceTemplate.healthcheck.initialDelaySeconds | default "20" }}
|
||||||
periodSeconds: {{ .healthcheck.periodSeconds | default $.Values.serviceTemplate.healthcheck.periodSeconds | default "20" }}
|
periodSeconds: {{ .healthcheck.periodSeconds | default $.Values.serviceTemplate.healthcheck.periodSeconds | default "20" }}
|
||||||
{{- end }}
|
{{- else if and (or (eq .healthcheck.type "tcpSocket") (eq $.Values.serviceTemplate.healthcheck.type "tcpSocket")) (or .healthcheck.port $.Values.serviceTemplate.healthcheck.port) }}
|
||||||
{{- if and (or (eq .healthcheck.type "tcpSocket") (eq $.Values.serviceTemplate.healthcheck.type "tcpSocket")) (or .healthcheck.port $.Values.serviceTemplate.healthcheck.port) }}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: {{ .healthcheck.port | default $.Values.serviceTemplate.healthcheck.port }}
|
port: {{ .healthcheck.port | default $.Values.serviceTemplate.healthcheck.port }}
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,8 @@ serviceTemplate:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
enabled: false
|
enabled: false
|
||||||
type: httpGet
|
type: httpGet
|
||||||
path: /healthz
|
# path: /healthz
|
||||||
port: http
|
# port: http
|
||||||
# initialDelaySeconds: 30
|
# initialDelaySeconds: 30
|
||||||
# periodSeconds: 30
|
# periodSeconds: 30
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue