From 9a83392919390a75140992c51040727abcde13d5 Mon Sep 17 00:00:00 2001 From: John Slivka Date: Tue, 10 Oct 2023 13:58:44 -0500 Subject: [PATCH] add terminationGracePeriodSeconds to insights report job deployment spec (#1339) --- stable/fairwinds-insights/CHANGELOG.md | 3 +++ stable/fairwinds-insights/Chart.yaml | 2 +- stable/fairwinds-insights/README.md | 1 + stable/fairwinds-insights/templates/deployment-report-job.yaml | 1 + stable/fairwinds-insights/values.yaml | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/stable/fairwinds-insights/CHANGELOG.md b/stable/fairwinds-insights/CHANGELOG.md index 529d793e6..5716f26c0 100644 --- a/stable/fairwinds-insights/CHANGELOG.md +++ b/stable/fairwinds-insights/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.21.0 +* Add `terminationGracePeriodSeconds` to insights report job deployment spec + ## 0.20.0 * Add `slackChannelsLocalRefresherCronjob` to `stable/fairwinds-insights`. diff --git a/stable/fairwinds-insights/Chart.yaml b/stable/fairwinds-insights/Chart.yaml index 28b52368a..683b29272 100644 --- a/stable/fairwinds-insights/Chart.yaml +++ b/stable/fairwinds-insights/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "14.1" description: A Helm chart to run the Fairwinds Insights server name: fairwinds-insights -version: 0.20.0 +version: 0.21.0 kubeVersion: ">= 1.22.0-0" maintainers: - name: rbren diff --git a/stable/fairwinds-insights/README.md b/stable/fairwinds-insights/README.md index 69d9a510f..7950469b2 100644 --- a/stable/fairwinds-insights/README.md +++ b/stable/fairwinds-insights/README.md @@ -217,6 +217,7 @@ See [insights.docs.fairwinds.com](https://insights.docs.fairwinds.com/technical- | reportjob.resources.requests.memory | string | `"128Mi"` | | | reportjob.nodeSelector | object | `{}` | | | reportjob.tolerations | list | `[]` | | +| reportjob.terminationGracePeriodSeconds | int | `600` | | | automatedPullRequestJob.enabled | bool | `true` | | | automatedPullRequestJob.hpa.enabled | bool | `true` | | | automatedPullRequestJob.hpa.min | int | `2` | | diff --git a/stable/fairwinds-insights/templates/deployment-report-job.yaml b/stable/fairwinds-insights/templates/deployment-report-job.yaml index 520605bb7..469cdf7fb 100644 --- a/stable/fairwinds-insights/templates/deployment-report-job.yaml +++ b/stable/fairwinds-insights/templates/deployment-report-job.yaml @@ -32,6 +32,7 @@ spec: - name: {{ . }} {{- end }} serviceAccountName: {{ include "fairwinds-insights.fullname" . }}-insights + terminationGracePeriodSeconds: {{ .Values.reportjob.terminationGracePeriodSeconds }} containers: - name: fairwinds-insights image: "{{ .Values.apiImage.repository }}:{{ include "fairwinds-insights.apiImageTag" . }}" diff --git a/stable/fairwinds-insights/values.yaml b/stable/fairwinds-insights/values.yaml index f372bb5e9..b67b124e3 100644 --- a/stable/fairwinds-insights/values.yaml +++ b/stable/fairwinds-insights/values.yaml @@ -647,6 +647,7 @@ reportjob: memory: 128Mi nodeSelector: {} tolerations: [] + terminationGracePeriodSeconds: 600 automatedPullRequestJob: enabled: true