fix: removed duplicate lifecycle argument from service template (#49)
* fix: removed duplicate lifecycle argument from service template * fix: changed the version of chartmain
parent
2731eaaaf7
commit
aa4d70b6e5
|
|
@ -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.7
|
version: 1.2.8
|
||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -117,11 +117,6 @@ spec:
|
||||||
{{- if $.Values.serviceTemplate.volumeMounts }}
|
{{- if $.Values.serviceTemplate.volumeMounts }}
|
||||||
{{ toYaml $.Values.serviceTemplate.volumeMounts | indent 10 }}
|
{{ toYaml $.Values.serviceTemplate.volumeMounts | indent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
lifecycle:
|
|
||||||
preStop:
|
|
||||||
exec:
|
|
||||||
command: ["bash","-c","sleep 120"]
|
|
||||||
|
|
||||||
{{- if or ($.Values.serviceTemplate.healthcheck.enabled) (.healthcheck.enabled) }}
|
{{- if or ($.Values.serviceTemplate.healthcheck.enabled) (.healthcheck.enabled) }}
|
||||||
{{- if and (or (eq .healthcheck.type "httpGet") (eq $.Values.serviceTemplate.healthcheck.type "httpGet")) (or .healthcheck.path $.Values.serviceTemplate.healthcheck.path) }}
|
{{- if and (or (eq .healthcheck.type "httpGet") (eq $.Values.serviceTemplate.healthcheck.type "httpGet")) (or .healthcheck.path $.Values.serviceTemplate.healthcheck.path) }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue