From da0a7b86fd514d13bc62735d638f07b66fa10e69 Mon Sep 17 00:00:00 2001 From: Amir Malka Date: Sun, 10 Sep 2023 13:21:11 +0300 Subject: [PATCH] fix relevancy config Signed-off-by: Amir Malka --- charts/kubescape-operator/Chart.yaml | 4 ++-- .../templates/configs/cloudapi-configmap.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kubescape-operator/Chart.yaml b/charts/kubescape-operator/Chart.yaml index bcfb8c38..2c17e5af 100644 --- a/charts/kubescape-operator/Chart.yaml +++ b/charts/kubescape-operator/Chart.yaml @@ -9,14 +9,14 @@ type: application # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.15.1 +version: 1.15.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 1.15.1 +appVersion: 1.15.2 maintainers: - name: Ben Hirschberg diff --git a/charts/kubescape-operator/templates/configs/cloudapi-configmap.yaml b/charts/kubescape-operator/templates/configs/cloudapi-configmap.yaml index f72c1632..1a7550e5 100644 --- a/charts/kubescape-operator/templates/configs/cloudapi-configmap.yaml +++ b/charts/kubescape-operator/templates/configs/cloudapi-configmap.yaml @@ -31,7 +31,7 @@ data: "accountID": "{{ .Values.account }}", "clusterName": "{{ regexReplaceAll "\\W+" .Values.clusterName "-" }}", "storage": {{ $components.storage.enabled }}, - "relevantImageVulnerabilitiesEnabled": {{ $components.kubevuln.enabled }}, + "relevantImageVulnerabilitiesEnabled": {{ eq .Values.capabilities.relevancy "enable" }}, "namespace": "{{ .Values.ksNamespace }}", "imageVulnerabilitiesScanningEnabled": {{ $components.kubevuln.enabled }}, "postureScanEnabled": {{ $components.kubescape.enabled }},