From 0fd904034666713debda0e1e937e0f547c34dfb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Tue, 10 Dec 2024 18:29:47 +0100 Subject: [PATCH] [bitnami/grafana-operator] Detect non-standard images (#30886) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [bitnami/grafana-operator] Detect non-standard images Signed-off-by: Carlos Rodríguez Hernández * Update bitnami/grafana-operator/templates/NOTES.txt Signed-off-by: Carlos Rodríguez Hernández * Update values.yaml 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 --------- Signed-off-by: Carlos Rodríguez Hernández Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/grafana-operator/CHANGELOG.md | 10 ++++++++-- bitnami/grafana-operator/Chart.lock | 6 +++--- bitnami/grafana-operator/Chart.yaml | 2 +- bitnami/grafana-operator/README.md | 5 +++++ bitnami/grafana-operator/templates/NOTES.txt | 3 ++- bitnami/grafana-operator/values.yaml | 5 +++++ 6 files changed, 24 insertions(+), 7 deletions(-) diff --git a/bitnami/grafana-operator/CHANGELOG.md b/bitnami/grafana-operator/CHANGELOG.md index c91824215d..94f6bdf403 100644 --- a/bitnami/grafana-operator/CHANGELOG.md +++ b/bitnami/grafana-operator/CHANGELOG.md @@ -1,8 +1,14 @@ # Changelog -## 4.8.1 (2024-12-03) +## 4.9.0 (2024-12-10) -* [bitnami/grafana-operator] Release 4.8.1 ([#30754](https://github.com/bitnami/charts/pull/30754)) +* [bitnami/grafana-operator] Detect non-standard images ([#30886](https://github.com/bitnami/charts/pull/30886)) + +## 4.8.1 (2024-12-03) + +* [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 2) (#30662) ([50e0570](https://github.com/bitnami/charts/commit/50e0570f98ab15308af7910b405baa4480e5fe3f)), closes [#30662](https://github.com/bitnami/charts/issues/30662) +* [bitnami/grafana-operator] Release 4.8.1 (#30754) ([4a20938](https://github.com/bitnami/charts/commit/4a2093886e09a898d06a657b5cb52a6c1c772aa8)), closes [#30754](https://github.com/bitnami/charts/issues/30754) ## 4.8.0 (2024-11-07) diff --git a/bitnami/grafana-operator/Chart.lock b/bitnami/grafana-operator/Chart.lock index 7b605e2718..1d744eed18 100644 --- a/bitnami/grafana-operator/Chart.lock +++ b/bitnami/grafana-operator/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-03T23:23:51.09801763Z" + version: 2.28.0 +digest: sha256:5b30f0fa07bb89b01c55fd6258c8ce22a611b13623d4ad83e8fdd1d4490adc74 +generated: "2024-12-10T17:02:23.277643+01:00" diff --git a/bitnami/grafana-operator/Chart.yaml b/bitnami/grafana-operator/Chart.yaml index ee2fea45ba..810cbacfdc 100644 --- a/bitnami/grafana-operator/Chart.yaml +++ b/bitnami/grafana-operator/Chart.yaml @@ -30,4 +30,4 @@ maintainers: name: grafana-operator sources: - https://github.com/bitnami/charts/tree/main/bitnami/grafana-operator -version: 4.8.1 +version: 4.9.0 diff --git a/bitnami/grafana-operator/README.md b/bitnami/grafana-operator/README.md index f6596d2372..cc41e75b87 100644 --- a/bitnami/grafana-operator/README.md +++ b/bitnami/grafana-operator/README.md @@ -215,6 +215,7 @@ extraDeploy: | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | | `global.imageRegistry` | Global Docker image registry | `""` | | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` | +| `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) | `disabled` | ### Common parameters @@ -455,6 +456,10 @@ Find more information about how to deal with common errors related to Bitnami's ## Upgrading +### To 4.9.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). + ```console helm upgrade my-release oci://REGISTRY_NAME/REPOSITORY_NAME/grafana-operator ``` diff --git a/bitnami/grafana-operator/templates/NOTES.txt b/bitnami/grafana-operator/templates/NOTES.txt index 4c57e50ca5..55c1b45260 100644 --- a/bitnami/grafana-operator/templates/NOTES.txt +++ b/bitnami/grafana-operator/templates/NOTES.txt @@ -14,4 +14,5 @@ Watch the Grafana Operator Deployment status using the command: {{ include "common.warnings.rollingTag" .Values.operator.image }} {{- end }} {{- include "common.warnings.resources" (dict "sections" (list "grafana" "operator") "context" $) }} -{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.operator.image .Values.grafana.image) "context" $) }} \ No newline at end of file +{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.operator.image .Values.grafana.image) "context" $) }} +{{- include "common.errors.insecureImages" (dict "images" (list .Values.operator.image .Values.grafana.image) "context" $) }} diff --git a/bitnami/grafana-operator/values.yaml b/bitnami/grafana-operator/values.yaml index 260ad24d2c..4c5b1fc035 100644 --- a/bitnami/grafana-operator/values.yaml +++ b/bitnami/grafana-operator/values.yaml @@ -17,6 +17,11 @@ global: ## - myRegistryKeySecretName ## imagePullSecrets: [] + ## Security parameters + ## + security: + ## @param global.security.allowInsecureImages Allows skipping image verification + allowInsecureImages: false ## Compatibility adaptations for Kubernetes platforms ## compatibility: