From bb30b8ae7ceb8fc8802534f34f2bd4397279aedb Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 17 Mar 2025 21:40:03 +0800 Subject: [PATCH] fix: remove terminationGracePeriodSeconds from readiness probe configurations in authentication, centralStorage, content, notification, and payment services Signed-off-by: zhenyus --- .../authentication/templates/authentication/deployment.yaml | 3 --- freeleaps/helm-pkg/authentication/values.prod.yaml | 1 - .../centralStorage/templates/central-storage/deployment.yaml | 3 --- freeleaps/helm-pkg/centralStorage/values.prod.yaml | 1 - freeleaps/helm-pkg/content/templates/content/deployment.yaml | 3 --- freeleaps/helm-pkg/content/values.prod.yaml | 1 - .../notification/templates/notification/deployment.yaml | 3 --- freeleaps/helm-pkg/notification/values.prod.yaml | 1 - freeleaps/helm-pkg/payment/templates/payment/deployment.yaml | 3 --- freeleaps/helm-pkg/payment/values.prod.yaml | 1 - 10 files changed, 20 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml index b83fed45..cfb4072d 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml @@ -83,9 +83,6 @@ spec: {{- if .Values.authentication.probes.readiness.config.failureThreshold }} failureThreshold: {{ .Values.authentication.probes.readiness.config.failureThreshold }} {{- end }} - {{- if .Values.authentication.probes.readiness.config.terminationGracePeriodSeconds }} - terminationGracePeriodSeconds: {{ .Values.authentication.probes.readiness.config.terminationGracePeriodSeconds }} - {{- end }} {{- end }} {{- end}} env: diff --git a/freeleaps/helm-pkg/authentication/values.prod.yaml b/freeleaps/helm-pkg/authentication/values.prod.yaml index 1d731a2a..b0410fc6 100644 --- a/freeleaps/helm-pkg/authentication/values.prod.yaml +++ b/freeleaps/helm-pkg/authentication/values.prod.yaml @@ -32,7 +32,6 @@ authentication: timeoutSeconds: 3 successThreshold: 1 failureThreshold: 3 - terminationGracePeriodSeconds: 30 liveness: type: httpGet config: diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml index a7fd9388..7ae73c4e 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml @@ -83,9 +83,6 @@ spec: {{- if .Values.centralStorage.probes.readiness.config.failureThreshold }} failureThreshold: {{ .Values.centralStorage.probes.readiness.config.failureThreshold }} {{- end }} - {{- if .Values.centralStorage.probes.readiness.config.terminationGracePeriodSeconds }} - terminationGracePeriodSeconds: {{ .Values.centralStorage.probes.readiness.config.terminationGracePeriodSeconds }} - {{- end }} {{- end }} {{- end}} env: diff --git a/freeleaps/helm-pkg/centralStorage/values.prod.yaml b/freeleaps/helm-pkg/centralStorage/values.prod.yaml index 4dbf40ab..f2985e9a 100644 --- a/freeleaps/helm-pkg/centralStorage/values.prod.yaml +++ b/freeleaps/helm-pkg/centralStorage/values.prod.yaml @@ -32,7 +32,6 @@ centralStorage: timeoutSeconds: 3 successThreshold: 1 failureThreshold: 3 - terminationGracePeriodSeconds: 30 liveness: type: httpGet config: diff --git a/freeleaps/helm-pkg/content/templates/content/deployment.yaml b/freeleaps/helm-pkg/content/templates/content/deployment.yaml index 72fe7992..abd44d69 100644 --- a/freeleaps/helm-pkg/content/templates/content/deployment.yaml +++ b/freeleaps/helm-pkg/content/templates/content/deployment.yaml @@ -83,9 +83,6 @@ spec: {{- if .Values.content.probes.readiness.config.failureThreshold }} failureThreshold: {{ .Values.content.probes.readiness.config.failureThreshold }} {{- end }} - {{- if .Values.content.probes.readiness.config.terminationGracePeriodSeconds }} - terminationGracePeriodSeconds: {{ .Values.content.probes.readiness.config.terminationGracePeriodSeconds }} - {{- end }} {{- end }} {{- end}} env: diff --git a/freeleaps/helm-pkg/content/values.prod.yaml b/freeleaps/helm-pkg/content/values.prod.yaml index da675e99..79694fb3 100644 --- a/freeleaps/helm-pkg/content/values.prod.yaml +++ b/freeleaps/helm-pkg/content/values.prod.yaml @@ -32,7 +32,6 @@ content: timeoutSeconds: 3 successThreshold: 1 failureThreshold: 3 - terminationGracePeriodSeconds: 30 liveness: type: httpGet config: diff --git a/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml b/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml index 8df84a9e..ef8c08aa 100644 --- a/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml +++ b/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml @@ -83,9 +83,6 @@ spec: {{- if .Values.notification.probes.readiness.config.failureThreshold }} failureThreshold: {{ .Values.notification.probes.readiness.config.failureThreshold }} {{- end }} - {{- if .Values.notification.probes.readiness.config.terminationGracePeriodSeconds }} - terminationGracePeriodSeconds: {{ .Values.notification.probes.readiness.config.terminationGracePeriodSeconds }} - {{- end }} {{- end }} {{- end}} env: diff --git a/freeleaps/helm-pkg/notification/values.prod.yaml b/freeleaps/helm-pkg/notification/values.prod.yaml index b365311c..8ddfd2c8 100644 --- a/freeleaps/helm-pkg/notification/values.prod.yaml +++ b/freeleaps/helm-pkg/notification/values.prod.yaml @@ -32,7 +32,6 @@ notification: timeoutSeconds: 3 successThreshold: 1 failureThreshold: 3 - terminationGracePeriodSeconds: 30 liveness: type: httpGet config: diff --git a/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml b/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml index cd9308bb..9d3d4019 100644 --- a/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml +++ b/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml @@ -83,9 +83,6 @@ spec: {{- if .Values.payment.probes.readiness.config.failureThreshold }} failureThreshold: {{ .Values.payment.probes.readiness.config.failureThreshold }} {{- end }} - {{- if .Values.payment.probes.readiness.config.terminationGracePeriodSeconds }} - terminationGracePeriodSeconds: {{ .Values.payment.probes.readiness.config.terminationGracePeriodSeconds }} - {{- end }} {{- end }} {{- end}} env: diff --git a/freeleaps/helm-pkg/payment/values.prod.yaml b/freeleaps/helm-pkg/payment/values.prod.yaml index 762a128c..47999c96 100644 --- a/freeleaps/helm-pkg/payment/values.prod.yaml +++ b/freeleaps/helm-pkg/payment/values.prod.yaml @@ -32,7 +32,6 @@ payment: timeoutSeconds: 3 successThreshold: 1 failureThreshold: 3 - terminationGracePeriodSeconds: 30 liveness: type: httpGet config: