Skip to content

Commit

Permalink
[bitnami/grafana-tempo] Allow rendering resources values (#29344)
Browse files Browse the repository at this point in the history
* [bitnami/grafana-tempo] Allow rendering resources values

This is done in other charts

Signed-off-by: Ben Foster <[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: Ben Foster <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
bpfoster and bitnami-bot authored Sep 11, 2024
1 parent dce854e commit 3df45d5
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 11 deletions.
8 changes: 6 additions & 2 deletions bitnami/grafana-tempo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 3.7.9 (2024-09-06)
## 3.7.10 (2024-09-11)

* [bitnami/grafana-tempo] Release 3.7.9 ([#29238](https://github.com/bitnami/charts/pull/29238))
* [bitnami/grafana-tempo] Allow rendering resources values ([#29344](https://github.com/bitnami/charts/pull/29344))

## <small>3.7.9 (2024-09-06)</small>

* [bitnami/grafana-tempo] Release 3.7.9 (#29238) ([4685bca](https://github.com/bitnami/charts/commit/4685bca5832244969c233e10ea9a350fa7ededb3)), closes [#29238](https://github.com/bitnami/charts/issues/29238)

## <small>3.7.8 (2024-09-04)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/grafana-tempo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ maintainers:
name: grafana-tempo
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/grafana-tempo
version: 3.7.9
version: 3.7.10
2 changes: 1 addition & 1 deletion bitnami/grafana-tempo/templates/compactor/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
- containerPort: {{ .Values.tempo.containerPorts.gossipRing }}
name: http-memberlist
{{- if .Values.compactor.resources }}
resources: {{- toYaml .Values.compactor.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.compactor.resources "context" $) | nindent 12 }}
{{- else if ne .Values.compactor.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.compactor.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ spec:
protocol: TCP
{{- end }}
{{- if .Values.distributor.resources }}
resources: {{- toYaml .Values.distributor.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.distributor.resources "context" $) | nindent 12 }}
{{- else if ne .Values.distributor.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.distributor.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions bitnami/grafana-tempo/templates/ingester/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
securityContext: {{- .Values.volumePermissions.containerSecurityContext | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.resources }}
resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.volumePermissions.resources "context" $) | nindent 12 }}
{{- else if ne .Values.volumePermissions.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.volumePermissions.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -143,7 +143,7 @@ spec:
- containerPort: {{ .Values.tempo.containerPorts.grpc }}
name: grpc
{{- if .Values.ingester.resources }}
resources: {{- toYaml .Values.ingester.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.ingester.resources "context" $) | nindent 12 }}
{{- else if ne .Values.ingester.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.ingester.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
- containerPort: {{ .Values.tempo.containerPorts.grpc }}
name: grpc
{{- if .Values.metricsGenerator.resources }}
resources: {{- toYaml .Values.metricsGenerator.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.metricsGenerator.resources "context" $) | nindent 12 }}
{{- else if ne .Values.metricsGenerator.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.metricsGenerator.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion bitnami/grafana-tempo/templates/querier/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
- containerPort: {{ .Values.tempo.containerPorts.grpc }}
name: grpc
{{- if .Values.querier.resources }}
resources: {{- toYaml .Values.querier.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.querier.resources "context" $) | nindent 12 }}
{{- else if ne .Values.querier.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.querier.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ spec:
- containerPort: {{ .Values.tempo.containerPorts.grpc }}
name: grpc
{{- if .Values.queryFrontend.resources }}
resources: {{- toYaml .Values.queryFrontend.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.queryFrontend.resources "context" $) | nindent 12 }}
{{- else if ne .Values.queryFrontend.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.queryFrontend.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion bitnami/grafana-tempo/templates/vulture/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ spec:
- containerPort: {{ .Values.vulture.containerPorts.http }}
name: http
{{- if .Values.vulture.resources }}
resources: {{- toYaml .Values.vulture.resources | nindent 12 }}
resources: {{- include "common.tplvalues.render" (dict "value" .Values.vulture.resources "context" $) | nindent 12 }}
{{- else if ne .Values.vulture.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.vulture.resourcesPreset) | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 3df45d5

Please sign in to comment.