Skip to content

Commit

Permalink
add terminationGracePeriodSeconds to insights report job deployment s…
Browse files Browse the repository at this point in the history
…pec (#1339)
  • Loading branch information
jslivka authored Oct 10, 2023
1 parent 4968626 commit 9a83392
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions stable/fairwinds-insights/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion stable/fairwinds-insights/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/fairwinds-insights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}"
Expand Down
1 change: 1 addition & 0 deletions stable/fairwinds-insights/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ reportjob:
memory: 128Mi
nodeSelector: {}
tolerations: []
terminationGracePeriodSeconds: 600

automatedPullRequestJob:
enabled: true
Expand Down

0 comments on commit 9a83392

Please sign in to comment.