Skip to content

Commit

Permalink
[bitnami/thanos] Detect non-standard images (#30948)
Browse files Browse the repository at this point in the history
* [bitnami/thanos] Detect non-standard images

Signed-off-by: Carlos Rodríguez Hernández <[email protected]>

* Modify NOTES.txt

Signed-off-by: Carlos Rodríguez Hernández <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Carlos Rodríguez Hernández <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
carrodher and bitnami-bot authored Dec 10, 2024
1 parent be6bbcf commit f094a30
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 14 deletions.
8 changes: 6 additions & 2 deletions bitnami/thanos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 15.8.5 (2024-12-08)
## 15.9.0 (2024-12-10)

* [bitnami/thanos] Allow for shards that are both time and hash partitioned. ([#30826](https://github.com/bitnami/charts/pull/30826))
* [bitnami/thanos] Detect non-standard images ([#30948](https://github.com/bitnami/charts/pull/30948))

## <small>15.8.5 (2024-12-10)</small>

* [bitnami/thanos] Allow for shards that are both time and hash partitioned. (#30826) ([bb42a7e](https://github.com/bitnami/charts/commit/bb42a7ebded506612dc56783d5f9c7c5ce0bc9b0)), closes [#30826](https://github.com/bitnami/charts/issues/30826)

## <small>15.8.4 (2024-12-04)</small>

Expand Down
6 changes: 3 additions & 3 deletions bitnami/thanos/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies:
version: 14.8.6
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.27.2
digest: sha256:c82e7b1b2a616b679070549fc16fc91e6fece557c8c29df0389d524ba37f60ed
generated: "2024-12-04T10:19:49.352381464Z"
version: 2.28.0
digest: sha256:153b0682d0bd27c1ef959c0a3b76b5c8db032892cc436ca25b0843fca6420e80
generated: "2024-12-10T17:31:22.630312+01:00"
2 changes: 1 addition & 1 deletion bitnami/thanos/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ maintainers:
name: thanos
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/thanos
version: 15.8.5
version: 15.9.0
19 changes: 12 additions & 7 deletions bitnami/thanos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,14 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru

### 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

Expand Down Expand Up @@ -1657,6 +1658,10 @@ Find more information about how to deal with common errors related to Bitnami's

## Upgrading

### To 15.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).

### To 15.0.0

This major bump changes the following security defaults:
Expand Down
3 changes: 2 additions & 1 deletion bitnami/thanos/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ WARNING: You deployed Thanos without enabling Thanos Query!!
{{- include "thanos.validateValues" . }}
{{- include "thanos.checkRollingTags" . }}
{{- include "common.warnings.resources" (dict "sections" (list "bucketweb" "compactor" "query" "queryFrontend" "receive" "receiveDistributor" "ruler" "storegateway") "context" $) }}
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.volumePermissions.image) "context" $) }}
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.volumePermissions.image) "context" $) }}
{{- include "common.errors.insecureImages" (dict "images" (list .Values.image .Values.volumePermissions.image) "context" $) }}
5 changes: 5 additions & 0 deletions bitnami/thanos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f094a30

Please sign in to comment.