From f847de2ec3e4e4ec61ac3e42f6db8de554102544 Mon Sep 17 00:00:00 2001 From: Vitor Rodrigo Vezani Date: Fri, 29 Mar 2024 13:45:54 -0300 Subject: [PATCH] [stable/fairwinds-insights] FWI-5916 - Add support for cronjobs.image-vulnerabilities-refresh (#1452) * Update Fairwinds Insights to version 2.2.0 and add support for image vulnerabilities refresh * Update command in image-vulnerabilities-refresh cronjob * minor fixes * Update image vulnerability refresh job name --------- Co-authored-by: Robert Brennan --- stable/fairwinds-insights/CHANGELOG.md | 3 +++ stable/fairwinds-insights/Chart.yaml | 2 +- stable/fairwinds-insights/README.md | 1 + stable/fairwinds-insights/values.yaml | 5 +++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/stable/fairwinds-insights/CHANGELOG.md b/stable/fairwinds-insights/CHANGELOG.md index 3fb56a148..f91e4ed81 100644 --- a/stable/fairwinds-insights/CHANGELOG.md +++ b/stable/fairwinds-insights/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 2.2.0 +* Add `cronjobs.image-vulns-refresh` support + ## 2.1.4 * Update application version to 15.6. [See the release notes for more details](https://insights.docs.fairwinds.com/release-notes) diff --git a/stable/fairwinds-insights/Chart.yaml b/stable/fairwinds-insights/Chart.yaml index fa589ce4b..3680fc1c4 100644 --- a/stable/fairwinds-insights/Chart.yaml +++ b/stable/fairwinds-insights/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "15.6" description: A Helm chart to run the Fairwinds Insights server name: fairwinds-insights -version: 2.1.4 +version: 2.2.0 kubeVersion: ">= 1.22.0-0" maintainers: - name: rbren diff --git a/stable/fairwinds-insights/README.md b/stable/fairwinds-insights/README.md index 071fc54dd..0f66b6f0a 100644 --- a/stable/fairwinds-insights/README.md +++ b/stable/fairwinds-insights/README.md @@ -54,6 +54,7 @@ See [insights.docs.fairwinds.com](https://insights.docs.fairwinds.com/technical- | cronjobs.slack-channels | object | `{"command":"slack_channels_local_refresher","schedule":"0/15 * * * *"}` | Options for the slack channels job. | | cronjobs.trial-end | object | `{"command":"trial_end_downgrade","schedule":""}` | Options for the trial-end job. | | cronjobs.move-health-scores-to-ts | object | `{"command":"move_resource_health_scores_to_ts","schedule":"*/30 * * * *"}` | Options for the move-health-scores-to-ts job. | +| cronjobs.image-vulns-refresh | object | `{"command":"image_vulnerabilities_refresher","schedule":"*/30 * * * *"}` | Options for the image-vulns-refresh job. | | selfHostedSecret | string | `nil` | | | additionalEnvironmentVariables | object | `{}` | Additional Environment Variables to set on the Fairwinds Insights pods. | | rbac.serviceAccount.annotations | object | `{}` | Annotations to add to the service account | diff --git a/stable/fairwinds-insights/values.yaml b/stable/fairwinds-insights/values.yaml index 22e7a589e..471852dcf 100644 --- a/stable/fairwinds-insights/values.yaml +++ b/stable/fairwinds-insights/values.yaml @@ -194,6 +194,11 @@ cronjobs: command: move_resource_health_scores_to_ts schedule: "*/30 * * * *" + # -- Options for the image-vulns-refresh job. + image-vulns-refresh: + command: image_vulnerabilities_refresher + schedule: "*/30 * * * *" + selfHostedSecret: # -- Additional Environment Variables to set on the Fairwinds Insights pods.