From 4c78af971fce016f33d2fc2b4513e473e2bb6878 Mon Sep 17 00:00:00 2001 From: Matthias Bertschy Date: Thu, 25 Jul 2024 11:36:27 +0200 Subject: [PATCH] hotfix: move skipKernelVersionCheck to config Signed-off-by: Matthias Bertschy --- charts/kubescape-operator/Chart.yaml | 4 +- .../templates/node-agent/daemonset.yaml | 2 +- .../__snapshot__/snapshot_test.yaml.snap | 146 +++++++++--------- .../tests/snapshot_test.yaml | 2 +- 4 files changed, 77 insertions(+), 77 deletions(-) diff --git a/charts/kubescape-operator/Chart.yaml b/charts/kubescape-operator/Chart.yaml index b3d75945..78237e13 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.20.1 +version: 1.20.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.20.1 +appVersion: 1.20.2 maintainers: - name: Ben Hirschberg diff --git a/charts/kubescape-operator/templates/node-agent/daemonset.yaml b/charts/kubescape-operator/templates/node-agent/daemonset.yaml index a77a804a..8a64e938 100644 --- a/charts/kubescape-operator/templates/node-agent/daemonset.yaml +++ b/charts/kubescape-operator/templates/node-agent/daemonset.yaml @@ -159,7 +159,7 @@ spec: - name : no_proxy value: "{{ $no_proxy_envar_list }}" {{- end }} - {{- if .Values.nodeAgent.skipKernelVersionCheck }} + {{- if .Values.nodeAgent.config.skipKernelVersionCheck }} - name: SKIP_KERNEL_VERSION_CHECK value: "true" {{- end }} diff --git a/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap b/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap index b3b0d3f4..49f7d441 100644 --- a/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap +++ b/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap @@ -1,6 +1,6 @@ all capabilities: 1: | - raw: "Thank you for installing kubescape-operator version 1.20.1.\nView your cluster's configuration scanning schedule: \n> kubectl -n kubescape get cj kubescape-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}'\n\nTo change the schedule, set `.spec.schedule`: \n> kubectl -n kubescape edit cj kubescape-scheduler\nView your cluster's image scanning schedule: \n> kubectl -n kubescape get cj kubevuln-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}' \n\nTo change the schedule, edit `.spec.schedule`: \n> kubectl -n kubescape edit cj kubevuln-scheduler\nView your configuration scan summaries:\n> kubectl get workloadconfigurationscansummaries -A\n\nDetailed reports are also available:\n> kubectl get workloadconfigurationscans -A\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" + raw: "Thank you for installing kubescape-operator version 1.20.2.\nView your cluster's configuration scanning schedule: \n> kubectl -n kubescape get cj kubescape-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}'\n\nTo change the schedule, set `.spec.schedule`: \n> kubectl -n kubescape edit cj kubescape-scheduler\nView your cluster's image scanning schedule: \n> kubectl -n kubescape get cj kubevuln-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}' \n\nTo change the schedule, edit `.spec.schedule`: \n> kubectl -n kubescape edit cj kubevuln-scheduler\nView your configuration scan summaries:\n> kubectl get workloadconfigurationscansummaries -A\n\nDetailed reports are also available:\n> kubectl get workloadconfigurationscans -A\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" 2: | apiVersion: batch/v1 kind: CronJob @@ -60,7 +60,7 @@ all capabilities: metadata: labels: app: helm-release-upgrader - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: helm-release-upgrader namespace: kubescape @@ -263,7 +263,7 @@ all capabilities: app: gateway app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: gateway - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -404,7 +404,7 @@ all capabilities: metadata: labels: app: gateway - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: gateway namespace: kubescape @@ -508,7 +508,7 @@ all capabilities: app: grype-offline-db app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: grype-offline-db - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core tier: ks-control-plane spec: @@ -641,7 +641,7 @@ all capabilities: metadata: labels: app: kollector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kollector namespace: kubescape @@ -727,7 +727,7 @@ all capabilities: app: kollector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kollector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -917,7 +917,7 @@ all capabilities: metadata: labels: app: kubescape-scheduler - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubescape-scheduler namespace: kubescape @@ -1177,7 +1177,7 @@ all capabilities: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -1207,7 +1207,7 @@ all capabilities: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -1455,7 +1455,7 @@ all capabilities: metadata: labels: app: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubescape namespace: kubescape @@ -1693,7 +1693,7 @@ all capabilities: metadata: labels: app: kubevuln-scheduler - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubevuln-scheduler namespace: kubescape @@ -1807,7 +1807,7 @@ all capabilities: app: kubevuln app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubevuln - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -1927,7 +1927,7 @@ all capabilities: metadata: labels: app: kubevuln - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubevuln namespace: kubescape @@ -2198,7 +2198,7 @@ all capabilities: app: node-agent app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: node-agent - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -2456,7 +2456,7 @@ all capabilities: metadata: labels: app: node-agent - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: node-agent namespace: kubescape @@ -2727,7 +2727,7 @@ all capabilities: app: operator app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: operator - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -2741,7 +2741,7 @@ all capabilities: - 2>&1 env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 100MiB - name: KS_LOGGER_LEVEL @@ -2906,7 +2906,7 @@ all capabilities: metadata: labels: app: operator - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: operator namespace: kubescape @@ -3101,7 +3101,7 @@ all capabilities: app: otel-collector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: otel-collector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -3202,7 +3202,7 @@ all capabilities: metadata: labels: app: otel-collector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: otel-collector namespace: kubescape @@ -3397,7 +3397,7 @@ all capabilities: metadata: labels: app: prometheus-exporter - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: prometheus-exporter namespace: kubescape @@ -3495,7 +3495,7 @@ all capabilities: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: service-discovery - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 otel: enabled tier: ks-control-plane name: RELEASE-NAME @@ -3857,7 +3857,7 @@ all capabilities: metadata: labels: app: storage - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: storage namespace: kubescape @@ -4352,7 +4352,7 @@ all capabilities: app: synchronizer app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: synchronizer - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -4364,7 +4364,7 @@ all capabilities: - /usr/bin/client env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 250MiB - name: KS_LOGGER_LEVEL @@ -4463,7 +4463,7 @@ all capabilities: metadata: labels: app: synchronizer - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: synchronizer namespace: kubescape @@ -4542,7 +4542,7 @@ all capabilities: namespace: kubescape default capabilities: 1: | - raw: "Thank you for installing kubescape-operator version 1.20.1.\nView your cluster's configuration scanning schedule: \n> kubectl -n kubescape get cj kubescape-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}'\n\nTo change the schedule, set `.spec.schedule`: \n> kubectl -n kubescape edit cj kubescape-scheduler\nView your cluster's image scanning schedule: \n> kubectl -n kubescape get cj kubevuln-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}' \n\nTo change the schedule, edit `.spec.schedule`: \n> kubectl -n kubescape edit cj kubevuln-scheduler\n\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" + raw: "Thank you for installing kubescape-operator version 1.20.2.\nView your cluster's configuration scanning schedule: \n> kubectl -n kubescape get cj kubescape-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}'\n\nTo change the schedule, set `.spec.schedule`: \n> kubectl -n kubescape edit cj kubescape-scheduler\nView your cluster's image scanning schedule: \n> kubectl -n kubescape get cj kubevuln-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}' \n\nTo change the schedule, edit `.spec.schedule`: \n> kubectl -n kubescape edit cj kubevuln-scheduler\n\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" 2: | apiVersion: v1 data: @@ -4653,7 +4653,7 @@ default capabilities: app: gateway app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: gateway - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -4782,7 +4782,7 @@ default capabilities: metadata: labels: app: gateway - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: gateway namespace: kubescape @@ -4880,7 +4880,7 @@ default capabilities: app: grype-offline-db app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: grype-offline-db - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core tier: ks-control-plane spec: @@ -5011,7 +5011,7 @@ default capabilities: metadata: labels: app: kollector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kollector namespace: kubescape @@ -5091,7 +5091,7 @@ default capabilities: app: kollector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kollector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -5267,7 +5267,7 @@ default capabilities: metadata: labels: app: kubescape-scheduler - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubescape-scheduler namespace: kubescape @@ -5521,7 +5521,7 @@ default capabilities: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -5551,7 +5551,7 @@ default capabilities: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -5785,7 +5785,7 @@ default capabilities: metadata: labels: app: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubescape namespace: kubescape @@ -6010,7 +6010,7 @@ default capabilities: metadata: labels: app: kubevuln-scheduler - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubevuln-scheduler namespace: kubescape @@ -6118,7 +6118,7 @@ default capabilities: app: kubevuln app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubevuln - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -6226,7 +6226,7 @@ default capabilities: metadata: labels: app: kubevuln - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: kubevuln namespace: kubescape @@ -6455,7 +6455,7 @@ default capabilities: app: node-agent app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: node-agent - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -6678,7 +6678,7 @@ default capabilities: metadata: labels: app: node-agent - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: node-agent namespace: kubescape @@ -6881,7 +6881,7 @@ default capabilities: app: operator app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: operator - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -6895,7 +6895,7 @@ default capabilities: - 2>&1 env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 100MiB - name: KS_LOGGER_LEVEL @@ -7039,7 +7039,7 @@ default capabilities: metadata: labels: app: operator - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: operator namespace: kubescape @@ -7228,7 +7228,7 @@ default capabilities: app: otel-collector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: otel-collector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -7323,7 +7323,7 @@ default capabilities: metadata: labels: app: otel-collector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: otel-collector namespace: kubescape @@ -7429,7 +7429,7 @@ default capabilities: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: service-discovery - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 otel: enabled tier: ks-control-plane name: RELEASE-NAME @@ -7783,7 +7783,7 @@ default capabilities: metadata: labels: app: storage - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: storage namespace: kubescape @@ -8267,7 +8267,7 @@ default capabilities: app: synchronizer app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: synchronizer - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -8279,7 +8279,7 @@ default capabilities: - /usr/bin/client env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 250MiB - name: KS_LOGGER_LEVEL @@ -8366,7 +8366,7 @@ default capabilities: metadata: labels: app: synchronizer - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 tier: ks-control-plane name: synchronizer namespace: kubescape @@ -8439,7 +8439,7 @@ default capabilities: namespace: kubescape disable otel: 1: | - raw: "Thank you for installing kubescape-operator version 1.20.1.\nView your cluster's configuration scanning schedule: \n> kubectl -n kubescape get cj kubescape-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}'\n\nTo change the schedule, set `.spec.schedule`: \n> kubectl -n kubescape edit cj kubescape-scheduler\nView your cluster's image scanning schedule: \n> kubectl -n kubescape get cj kubevuln-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}' \n\nTo change the schedule, edit `.spec.schedule`: \n> kubectl -n kubescape edit cj kubevuln-scheduler\n\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" + raw: "Thank you for installing kubescape-operator version 1.20.2.\nView your cluster's configuration scanning schedule: \n> kubectl -n kubescape get cj kubescape-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}'\n\nTo change the schedule, set `.spec.schedule`: \n> kubectl -n kubescape edit cj kubescape-scheduler\nView your cluster's image scanning schedule: \n> kubectl -n kubescape get cj kubevuln-scheduler -o=jsonpath='{.metadata.name}{\"\\t\"}{.spec.schedule}{\"\\n\"}' \n\nTo change the schedule, edit `.spec.schedule`: \n> kubectl -n kubescape edit cj kubevuln-scheduler\n\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" 2: | apiVersion: v1 data: @@ -8549,7 +8549,7 @@ disable otel: app: gateway app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: gateway - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -8784,7 +8784,7 @@ disable otel: app: kollector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kollector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -9172,7 +9172,7 @@ disable otel: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -9201,7 +9201,7 @@ disable otel: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -9642,7 +9642,7 @@ disable otel: app: kubevuln app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubevuln - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -9922,7 +9922,7 @@ disable otel: app: node-agent app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: node-agent - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -10255,7 +10255,7 @@ disable otel: app: operator app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: operator - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -10269,7 +10269,7 @@ disable otel: - 2>&1 env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 100MiB - name: KS_LOGGER_LEVEL @@ -10571,7 +10571,7 @@ disable otel: app: otel-collector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: otel-collector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -10700,7 +10700,7 @@ disable otel: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: service-discovery - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 otel: enabled tier: ks-control-plane name: RELEASE-NAME @@ -11489,7 +11489,7 @@ disable otel: app: synchronizer app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: synchronizer - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -11501,7 +11501,7 @@ disable otel: - /usr/bin/client env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 250MiB - name: KS_LOGGER_LEVEL @@ -11605,7 +11605,7 @@ disable otel: namespace: kubescape minimal capabilities: 1: | - raw: "Thank you for installing kubescape-operator version 1.20.1.\n\n\n\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" + raw: "Thank you for installing kubescape-operator version 1.20.2.\n\n\n\n\nView your image vulnerabilities scan summaries:\n> kubectl get vulnerabilitymanifestsummaries -A\n\nDetailed reports are also available:\n> kubectl get vulnerabilitymanifests -A\n\nkubescape-operator generates suggested network policies. To view them: \n> kubectl get generatednetworkpolicies -n \n\n" 2: | apiVersion: v1 data: @@ -11923,7 +11923,7 @@ minimal capabilities: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane @@ -11952,7 +11952,7 @@ minimal capabilities: app: kubescape app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubescape - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -12312,7 +12312,7 @@ minimal capabilities: app: kubevuln app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: kubevuln - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -12589,7 +12589,7 @@ minimal capabilities: app: node-agent app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: node-agent - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -12919,7 +12919,7 @@ minimal capabilities: app: operator app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: operator - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/tier: core otel: enabled tier: ks-control-plane @@ -12933,7 +12933,7 @@ minimal capabilities: - 2>&1 env: - name: HELM_RELEASE - value: kubescape-operator-1.20.1 + value: kubescape-operator-1.20.2 - name: GOMEMLIMIT value: 100MiB - name: KS_LOGGER_LEVEL @@ -13170,7 +13170,7 @@ minimal capabilities: app: otel-collector app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: otel-collector - helm.sh/chart: kubescape-operator-1.20.1 + helm.sh/chart: kubescape-operator-1.20.2 kubescape.io/ignore: "true" kubescape.io/tier: core tier: ks-control-plane diff --git a/charts/kubescape-operator/tests/snapshot_test.yaml b/charts/kubescape-operator/tests/snapshot_test.yaml index b1c1d725..bf006ead 100644 --- a/charts/kubescape-operator/tests/snapshot_test.yaml +++ b/charts/kubescape-operator/tests/snapshot_test.yaml @@ -49,7 +49,7 @@ tests: kubescape.serviceMonitor.enabled: true kubescapeScheduler.scanSchedule: "1 2 3 4 5" kubevulnScheduler.scanSchedule: "1 2 3 4 5" - nodeAgent.skipKernelVersionCheck: true + nodeAgent.config.skipKernelVersionCheck: true - it: minimal capabilities asserts: - matchSnapshot: {}