From 51db8486335455c2d83dc9c3090c878df64e5817 Mon Sep 17 00:00:00 2001 From: lior-alafi-work Date: Sun, 12 Jan 2025 10:34:18 +0200 Subject: [PATCH 1/3] chore(admission-controller): Bump Admission-controller to 0.16.7 --- charts/admission-controller/Chart.yaml | 4 ++-- charts/admission-controller/README.md | 2 +- charts/admission-controller/templates/webhook/configmap.yaml | 1 + charts/admission-controller/values.yaml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/admission-controller/Chart.yaml b/charts/admission-controller/Chart.yaml index 6bdf721e1..f13163d7b 100644 --- a/charts/admission-controller/Chart.yaml +++ b/charts/admission-controller/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: admission-controller description: Sysdig Admission Controller using Sysdig Secure inline image scanner type: application -version: 0.16.6 -appVersion: 3.9.47 +version: 0.16.7 +appVersion: 3.9.48 home: https://sysdiglabs.github.io/admission-controller/ icon: https://avatars.githubusercontent.com/u/5068817?s=200&v=4 maintainers: diff --git a/charts/admission-controller/README.md b/charts/admission-controller/README.md index 7d7e27252..697bc79c8 100644 --- a/charts/admission-controller/README.md +++ b/charts/admission-controller/README.md @@ -141,7 +141,7 @@ The following table lists the configurable parameters of the `admission-controll | webhook.v2.http.port | HTTP serve port where the requests will be served from | 6443 | | webhook.v2.image.registry | The KSPM Admission Controller image registry | quay.io | | webhook.v2.image.repository | The KSPM Admission Controller image repository | sysdig/secure-admission-controller | -| webhook.v2.image.tag | The KSPM Admission Controller image tag | 1.27.4 | +| webhook.v2.image.tag | The KSPM Admission Controller image tag | 1.27.5 | | webhook.v2.image.digest | Specifies the image digest value. If set, this value is used instead of the tag value | | | webhook.v2.image.pullPolicy | The PullPolicy for KSPM Admission Controller image | | | webhook.name | The service name for Webhook deployment | webhook | diff --git a/charts/admission-controller/templates/webhook/configmap.yaml b/charts/admission-controller/templates/webhook/configmap.yaml index 31fa2ced4..e2fd8cb2f 100644 --- a/charts/admission-controller/templates/webhook/configmap.yaml +++ b/charts/admission-controller/templates/webhook/configmap.yaml @@ -24,6 +24,7 @@ data: CERT_LOCATION: /cert EXTERNAL_NATS_URL: {{ include "admissionController.natsUrl" . }} NATS_INSECURE: "{{.Values.webhook.v2.nats.insecure}}" + BACKEND_URL: "{{ .Values.sysdig.url | default (printf "https://%s" (include "admissionController.apiEndpoint" .)) }}" {{- end}} {{- if .Values.webhook.acConfig }} CACHE_FLUSH_PERIOD: "{{ .Values.webhook.cacheFlushPeriod | default "24h" }}" diff --git a/charts/admission-controller/values.yaml b/charts/admission-controller/values.yaml index c8e410c0c..8ef0d1a60 100644 --- a/charts/admission-controller/values.yaml +++ b/charts/admission-controller/values.yaml @@ -188,7 +188,7 @@ webhook: # The KSPM Admission Controller image repository repository: sysdig/secure-admission-controller # The KSPM Admission Controller image tag - tag: 1.27.4 + tag: 1.27.5 # Specifies the image digest value. If set, this value is used instead of the tag value digest: # The PullPolicy for KSPM Admission Controller image From 1ac53337b2b97adbfa0ace0219e40cf66aec2576 Mon Sep 17 00:00:00 2001 From: lior-alafi-work Date: Sun, 12 Jan 2025 10:41:35 +0200 Subject: [PATCH 2/3] tiny fix --- charts/admission-controller/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/admission-controller/README.md b/charts/admission-controller/README.md index 697bc79c8..e05d285f7 100644 --- a/charts/admission-controller/README.md +++ b/charts/admission-controller/README.md @@ -68,7 +68,7 @@ For example: ```bash helm upgrade --install admission-controller sysdig/admission-controller \ - --create-namespace -n sysdig-admission-controller --version=0.16.6 \ + --create-namespace -n sysdig-admission-controller --version=0.16.7 \ --set sysdig.secureAPIToken=YOUR-KEY-HERE,clusterName=YOUR-CLUSTER-NAME ``` @@ -80,7 +80,7 @@ For example: ```bash helm upgrade --install admission-controller sysdig/admission-controller \ - --create-namespace -n sysdig-admission-controller --version=0.16.6 \ + --create-namespace -n sysdig-admission-controller --version=0.16.7 \ --values values.yaml ``` From bb2b29772214f0d8b27226a46f9e75df500d8154 Mon Sep 17 00:00:00 2001 From: lior-alafi-work Date: Sun, 12 Jan 2025 10:57:09 +0200 Subject: [PATCH 3/3] reverted old ac appversion --- charts/admission-controller/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/admission-controller/Chart.yaml b/charts/admission-controller/Chart.yaml index f13163d7b..1cec40efc 100644 --- a/charts/admission-controller/Chart.yaml +++ b/charts/admission-controller/Chart.yaml @@ -3,7 +3,7 @@ name: admission-controller description: Sysdig Admission Controller using Sysdig Secure inline image scanner type: application version: 0.16.7 -appVersion: 3.9.48 +appVersion: 3.9.47 home: https://sysdiglabs.github.io/admission-controller/ icon: https://avatars.githubusercontent.com/u/5068817?s=200&v=4 maintainers: