fix: removed duplicate lifecycle argument from service template (#49)

* fix: removed duplicate lifecycle argument from service template

* fix: changed the version of chart
main
HUSSAIN GANDHI 2023-08-10 14:38:42 +05:30 committed by GitHub
parent 2731eaaaf7
commit aa4d70b6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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: