From e25f85b5fa53b153a11c5f716a499daee4c70c3b Mon Sep 17 00:00:00 2001 From: FedericoFeresini <65897118+FedericoFeresini@users.noreply.github.com> Date: Wed, 8 Nov 2023 20:04:07 +0100 Subject: [PATCH] feat(cluster-scanner): Enable platform services in US4 [SSPROD-32841] (#1460) --- charts/cluster-scanner/Chart.yaml | 2 +- charts/cluster-scanner/README.md | 8 ++++---- charts/cluster-scanner/templates/_helpers.tpl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/cluster-scanner/Chart.yaml b/charts/cluster-scanner/Chart.yaml index 30af336d2..c5ea8489b 100644 --- a/charts/cluster-scanner/Chart.yaml +++ b/charts/cluster-scanner/Chart.yaml @@ -4,7 +4,7 @@ description: Sysdig Cluster Scanner type: application -version: 0.8.1 +version: 0.8.2 appVersion: "0.1.0" home: https://www.sysdig.com/ diff --git a/charts/cluster-scanner/README.md b/charts/cluster-scanner/README.md index e1b2ae001..22019c8dd 100644 --- a/charts/cluster-scanner/README.md +++ b/charts/cluster-scanner/README.md @@ -25,7 +25,7 @@ $ pre-commit run -a $ helm repo add sysdig https://charts.sysdig.com $ helm repo update $ helm upgrade --install sysdig-cluster-scanner sysdig/cluster-scanner \ - --create-namespace -n sysdig --version=0.8.1 \ + --create-namespace -n sysdig --version=0.8.2 \ --set global.clusterConfig.name=CLUSTER_NAME \ --set global.sysdig.region=SYSDIG_REGION \ --set global.sysdig.accessKey=YOUR-KEY-HERE @@ -55,7 +55,7 @@ To install the chart with the release name `cluster-scanner`, run: ```console $ helm upgrade --install sysdig-cluster-scanner sysdig/cluster-scanner \ - --create-namespace -n sysdig --version=0.8.1 \ + --create-namespace -n sysdig --version=0.8.2 \ --set global.clusterConfig.name=CLUSTER_NAME \ --set global.sysdig.region=SYSDIG_REGION \ --set global.sysdig.accessKey=YOUR-KEY-HERE @@ -161,7 +161,7 @@ Specify each parameter using the **`--set key=value[,key=value]`** argument to ` ```console $ helm upgrade --install sysdig-cluster-scanner sysdig/cluster-scanner \ - --create-namespace -n sysdig --version=0.8.1 \ + --create-namespace -n sysdig --version=0.8.2 \ --set global.sysdig.region="us1" ``` @@ -170,7 +170,7 @@ installing the chart. For example: ```console $ helm upgrade --install sysdig-cluster-scanner sysdig/cluster-scanner \ - --create-namespace -n sysdig --version=0.8.1 \ + --create-namespace -n sysdig --version=0.8.2 \ --values values.yaml ``` diff --git a/charts/cluster-scanner/templates/_helpers.tpl b/charts/cluster-scanner/templates/_helpers.tpl index abe723e34..ab8f240d5 100644 --- a/charts/cluster-scanner/templates/_helpers.tpl +++ b/charts/cluster-scanner/templates/_helpers.tpl @@ -211,7 +211,7 @@ It also makes sure that the platform services are enabled in regions which suppo */}} {{- define "cluster-scanner.enablePlatformServicesConfig" -}} {{- if ( semverCompare ">= 6.6.0" (.Values.onPremCompatibilityVersion | default "6.6.0" )) -}} - {{- $regionsPlatformEnabled := list "us1" "us2" "us3" "au1" "eu1" -}} + {{- $regionsPlatformEnabled := list "us1" "us2" "us3" "us4" "au1" "eu1" -}} {{- if or (has .Values.global.sysdig.region $regionsPlatformEnabled) .Values.onPremCompatibilityVersion -}} enable_platform_services: "true" {{- end -}}