From a1e43671a0232b7b559eee02b2aff15b16512fde Mon Sep 17 00:00:00 2001 From: ianianr <62026456+ianianr@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:59:02 +0200 Subject: [PATCH] Add terminationGracePeriodSeconds attr to port-ocean chart (#145) --- charts/port-ocean/Chart.yaml | 2 +- charts/port-ocean/templates/deployment.yaml | 1 + charts/port-ocean/values.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/port-ocean/Chart.yaml b/charts/port-ocean/Chart.yaml index 3ffe034..92b69e2 100644 --- a/charts/port-ocean/Chart.yaml +++ b/charts/port-ocean/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: port-ocean description: A Helm chart for Port Ocean integrations type: application -version: 0.5.2 +version: 0.5.3 appVersion: "0.1.0" home: https://getport.io/ sources: diff --git a/charts/port-ocean/templates/deployment.yaml b/charts/port-ocean/templates/deployment.yaml index 466a7b3..3ed1408 100644 --- a/charts/port-ocean/templates/deployment.yaml +++ b/charts/port-ocean/templates/deployment.yaml @@ -26,6 +26,7 @@ spec: {{- with .Values.podServiceAccount.name }} serviceAccountName: {{ . }} {{- end }} + terminationGracePeriodSeconds: {{ default 30 .Values.terminationGracePeriodSeconds }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} diff --git a/charts/port-ocean/values.yaml b/charts/port-ocean/values.yaml index 6f1203c..484dbf2 100644 --- a/charts/port-ocean/values.yaml +++ b/charts/port-ocean/values.yaml @@ -79,6 +79,7 @@ scheduledResyncInterval: null # scheduledResyncInterval: 60 # minutes - Used for Deployment workload.kind # scheduledResyncInterval: "*/60 * * * *" # cron expression - Used for CronJob workload.kind +terminationGracePeriodSeconds: 30 clientTimeout: null