From 802c8ceb740cb29e63465e74929bed881cf68381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Tue, 10 Dec 2024 19:15:49 +0100 Subject: [PATCH] [bitnami/kiam] Detect non-standard images (#30900) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [bitnami/kiam] Detect non-standard images Signed-off-by: Carlos Rodríguez Hernández * Update CHANGELOG.md Signed-off-by: Bitnami Containers * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers * Update NOTES.txt Signed-off-by: Carlos Rodríguez Hernández --------- Signed-off-by: Carlos Rodríguez Hernández Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/kiam/CHANGELOG.md | 10 ++++++++-- bitnami/kiam/Chart.lock | 6 +++--- bitnami/kiam/Chart.yaml | 2 +- bitnami/kiam/README.md | 19 ++++++++++++------- bitnami/kiam/templates/NOTES.txt | 3 ++- bitnami/kiam/values.yaml | 5 +++++ 6 files changed, 31 insertions(+), 14 deletions(-) diff --git a/bitnami/kiam/CHANGELOG.md b/bitnami/kiam/CHANGELOG.md index 4e91be18cc..99f1b49efa 100644 --- a/bitnami/kiam/CHANGELOG.md +++ b/bitnami/kiam/CHANGELOG.md @@ -1,8 +1,14 @@ # Changelog -## 2.2.18 (2024-12-04) +## 2.3.0 (2024-12-10) -* [bitnami/kiam] Release 2.2.18 ([#30762](https://github.com/bitnami/charts/pull/30762)) +* [bitnami/kiam] Detect non-standard images ([#30900](https://github.com/bitnami/charts/pull/30900)) + +## 2.2.18 (2024-12-04) + +* [bitnami/*] docs: :memo: Add "Backup & Restore" section (#30711) ([35ab536](https://github.com/bitnami/charts/commit/35ab5363741e7548f4076f04da6e62d10153c60c)), closes [#30711](https://github.com/bitnami/charts/issues/30711) +* [bitnami/*] docs: :memo: Add "Prometheus metrics" (batch 3) (#30666) ([82fc7e2](https://github.com/bitnami/charts/commit/82fc7e2fc12e2648ed22069942203c02bf5d4cc6)), closes [#30666](https://github.com/bitnami/charts/issues/30666) +* [bitnami/kiam] Release 2.2.18 (#30762) ([654bb09](https://github.com/bitnami/charts/commit/654bb09d1137cb21c52f275da787fecb9a5e818f)), closes [#30762](https://github.com/bitnami/charts/issues/30762) ## 2.2.17 (2024-11-07) diff --git a/bitnami/kiam/Chart.lock b/bitnami/kiam/Chart.lock index 4ec4fb9f17..2116bd82f1 100644 --- a/bitnami/kiam/Chart.lock +++ b/bitnami/kiam/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts - version: 2.27.2 -digest: sha256:6fd86cc5a4b5094abca1f23c8ec064e75e51eceaded94a5e20977274b2abb576 -generated: "2024-12-04T01:57:39.712793992Z" + version: 2.28.0 +digest: sha256:5b30f0fa07bb89b01c55fd6258c8ce22a611b13623d4ad83e8fdd1d4490adc74 +generated: "2024-12-10T17:07:40.078844+01:00" diff --git a/bitnami/kiam/Chart.yaml b/bitnami/kiam/Chart.yaml index c9970c4b49..68f5e83cc2 100644 --- a/bitnami/kiam/Chart.yaml +++ b/bitnami/kiam/Chart.yaml @@ -28,4 +28,4 @@ maintainers: name: kiam sources: - https://github.com/bitnami/charts/tree/main/bitnami/kiam -version: 2.2.18 +version: 2.3.0 diff --git a/bitnami/kiam/README.md b/bitnami/kiam/README.md index b6c647250b..42566be490 100644 --- a/bitnami/kiam/README.md +++ b/bitnami/kiam/README.md @@ -183,13 +183,14 @@ If managing TLS secrets outside of Helm, it is possible to create a TLS secret ( ### Global parameters -| Name | Description | Value | -| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -| `global.imageRegistry` | Global Docker image registry | `""` | -| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` | -| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` | -| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` | -| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` | +| Name | Description | Value | +| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | +| `global.imageRegistry` | Global Docker image registry | `""` | +| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` | +| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` | +| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` | +| `global.security.allowInsecureImages` | Allows skipping image verification | `false` | +| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` | ### Common parameters @@ -532,6 +533,10 @@ Find more information about how to deal with common errors related to Bitnami's ## Upgrading +### To 2.3.0 + +This version introduces image verification for security purposes. To disable it, set `global.security.allowInsecureImages` to `true`. More details at [GitHub issue](https://github.com/bitnami/charts/issues/30850). + ### To 2.0.0 This major bump changes the following security defaults: diff --git a/bitnami/kiam/templates/NOTES.txt b/bitnami/kiam/templates/NOTES.txt index 42e7da57c9..9a5634284c 100644 --- a/bitnami/kiam/templates/NOTES.txt +++ b/bitnami/kiam/templates/NOTES.txt @@ -134,4 +134,5 @@ In order to associate your pods with AWS IAM roles, follow the steps below: {{- include "common.warnings.rollingTag" .Values.image }} {{- include "kiam.validateValues" . }} {{- include "common.warnings.resources" (dict "sections" (list "agent" "server") "context" $) }} -{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image) "context" $) }} \ No newline at end of file +{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image) "context" $) }} +{{- include "common.errors.insecureImages" (dict "images" (list .Values.image) "context" $) }} diff --git a/bitnami/kiam/values.yaml b/bitnami/kiam/values.yaml index 202b136db4..4ded4db9ab 100644 --- a/bitnami/kiam/values.yaml +++ b/bitnami/kiam/values.yaml @@ -20,6 +20,11 @@ global: imagePullSecrets: [] defaultStorageClass: "" storageClass: "" + ## Security parameters + ## + security: + ## @param global.security.allowInsecureImages Allows skipping image verification + allowInsecureImages: false ## Compatibility adaptations for Kubernetes platforms ## compatibility: