From aa4d70b6e5e17505030aeae24391ed54046a4aa5 Mon Sep 17 00:00:00 2001 From: HUSSAIN GANDHI <69318875+Hussain-Gandhi@users.noreply.github.com> Date: Thu, 10 Aug 2023 14:38:42 +0530 Subject: [PATCH] fix: removed duplicate lifecycle argument from service template (#49) * fix: removed duplicate lifecycle argument from service template * fix: changed the version of chart --- charts/polymorphic-app/Chart.yaml | 2 +- charts/polymorphic-app/templates/service.yaml | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/charts/polymorphic-app/Chart.yaml b/charts/polymorphic-app/Chart.yaml index 4cacefa..1e2c919 100644 --- a/charts/polymorphic-app/Chart.yaml +++ b/charts/polymorphic-app/Chart.yaml @@ -4,5 +4,5 @@ description: A Helm chart for deploying any custom applications, specifically po maintainers: - name: improwised type: application -version: 1.2.7 +version: 1.2.8 appVersion: 1.0.0 diff --git a/charts/polymorphic-app/templates/service.yaml b/charts/polymorphic-app/templates/service.yaml index efb88f1..8c43680 100644 --- a/charts/polymorphic-app/templates/service.yaml +++ b/charts/polymorphic-app/templates/service.yaml @@ -117,11 +117,6 @@ spec: {{- if $.Values.serviceTemplate.volumeMounts }} {{ toYaml $.Values.serviceTemplate.volumeMounts | indent 10 }} {{- end }} - lifecycle: - preStop: - exec: - command: ["bash","-c","sleep 120"] - {{- 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) }} livenessProbe: