From d1267cf668829b16a91d66fcb05be9dedbb70df0 Mon Sep 17 00:00:00 2001 From: lior-alafi-work <113354782+lior-alafi-work@users.noreply.github.com> Date: Sun, 12 Jan 2025 11:04:32 +0200 Subject: [PATCH] chore(admission-controller): Bump Admission-controller to 0.16.7 (#2105) --- charts/admission-controller/Chart.yaml | 2 +- charts/admission-controller/README.md | 6 +++--- .../admission-controller/templates/webhook/configmap.yaml | 1 + charts/admission-controller/values.yaml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/admission-controller/Chart.yaml b/charts/admission-controller/Chart.yaml index 6bdf721e1..1cec40efc 100644 --- a/charts/admission-controller/Chart.yaml +++ b/charts/admission-controller/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: admission-controller description: Sysdig Admission Controller using Sysdig Secure inline image scanner type: application -version: 0.16.6 +version: 0.16.7 appVersion: 3.9.47 home: https://sysdiglabs.github.io/admission-controller/ icon: https://avatars.githubusercontent.com/u/5068817?s=200&v=4 diff --git a/charts/admission-controller/README.md b/charts/admission-controller/README.md index 7d7e27252..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 ``` @@ -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