Skip to content

Commit

Permalink
[bitnami/thanos] Fix Helm Template Error For Storegateway and HPA (#3…
Browse files Browse the repository at this point in the history
…1486)

* Cast Shard Value As Int

Signed-off-by: Ryan Macdonald <[email protected]>

* Chart Bump

Signed-off-by: Ryan Macdonald <[email protected]>

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

---------

Signed-off-by: Ryan Macdonald <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
ryanmac8 and bitnami-bot authored Jan 21, 2025
1 parent 97dae84 commit 9e323ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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.10.1 (2025-01-17)
## 15.10.2 (2025-01-21)

* [bitnami/thanos] Release 15.10.1 ([#31444](https://github.com/bitnami/charts/pull/31444))
* [bitnami/thanos] Fix Helm Template Error For Storegateway and HPA ([#31486](https://github.com/bitnami/charts/pull/31486))

## <small>15.10.1 (2025-01-17)</small>

* [bitnami/thanos] Release 15.10.1 (#31444) ([7767445](https://github.com/bitnami/charts/commit/7767445e87f3846c4f57b62ba25382ba5732cde0)), closes [#31444](https://github.com/bitnami/charts/issues/31444)

## 15.10.0 (2025-01-16)

Expand Down
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.10.1
version: 15.10.2
2 changes: 1 addition & 1 deletion bitnami/thanos/templates/storegateway/hpa-sharded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SPDX-License-Identifier: APACHE-2.0
{{- if not (empty .Values.storegateway.sharded.timePartitioning) }}
{{- $timeShards = len .Values.storegateway.sharded.timePartitioning }}
{{- end }}
{{- $shards = mul $hashShards $timeShards }}
{{- $shards = mul $hashShards $timeShards | int }}

{{- range $index, $_ := until $shards }}
apiVersion: {{ include "common.capabilities.hpa.apiVersion" ( dict "context" $ ) }}
Expand Down

0 comments on commit 9e323ab

Please sign in to comment.