mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[bitnami/grafana-loki] Allow rendering resources values (#29343)
* [bitnami/grafana-loki] Allow rendering resources values This is done in other charts Signed-off-by: Ben Foster <bpfoster@gmail.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Ben Foster <bpfoster@gmail.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 4.6.14 (2024-09-06)
|
||||
## 4.6.15 (2024-09-11)
|
||||
|
||||
* [bitnami/grafana-loki] Release 4.6.14 ([#29235](https://github.com/bitnami/charts/pull/29235))
|
||||
* [bitnami/grafana-loki] Allow rendering resources values ([#29343](https://github.com/bitnami/charts/pull/29343))
|
||||
|
||||
## <small>4.6.14 (2024-09-09)</small>
|
||||
|
||||
* [bitnami/grafana-loki] Release 4.6.14 (#29235) ([2cc3811](https://github.com/bitnami/charts/commit/2cc3811f15b304febf7fd98eeebfd0a6573157fb)), closes [#29235](https://github.com/bitnami/charts/issues/29235)
|
||||
|
||||
## <small>4.6.13 (2024-08-27)</small>
|
||||
|
||||
|
||||
@@ -55,4 +55,4 @@ maintainers:
|
||||
name: grafana-loki
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/grafana-loki
|
||||
version: 4.6.14
|
||||
version: 4.6.15
|
||||
|
||||
@@ -119,7 +119,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- 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 }}
|
||||
|
||||
@@ -119,7 +119,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- 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 }}
|
||||
|
||||
@@ -147,7 +147,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.gateway.resources }}
|
||||
resources: {{- toYaml .Values.gateway.resources | nindent 12 }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.gateway.resources "context" $) | nindent 12 }}
|
||||
{{- else if ne .Values.gateway.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.gateway.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -120,7 +120,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- if .Values.indexGateway.resources }}
|
||||
resources: {{- toYaml .Values.indexGateway.resources | nindent 12 }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.indexGateway.resources "context" $) | nindent 12 }}
|
||||
{{- else if ne .Values.indexGateway.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.indexGateway.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -94,7 +94,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 }}
|
||||
@@ -149,7 +149,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.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 }}
|
||||
|
||||
@@ -120,7 +120,7 @@ spec:
|
||||
- containerPort: {{ .Values.promtail.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- if .Values.promtail.resources }}
|
||||
resources: {{- toYaml .Values.promtail.resources | nindent 12 }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.promtail.resources "context" $) | nindent 12 }}
|
||||
{{- else if ne .Values.promtail.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.promtail.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -96,7 +96,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 }}
|
||||
@@ -154,7 +154,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.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 }}
|
||||
|
||||
@@ -118,7 +118,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.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 }}
|
||||
|
||||
@@ -119,7 +119,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- if .Values.queryScheduler.resources }}
|
||||
resources: {{- toYaml .Values.queryScheduler.resources | nindent 12 }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.queryScheduler.resources "context" $) | nindent 12 }}
|
||||
{{- else if ne .Values.queryScheduler.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.queryScheduler.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -97,7 +97,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 }}
|
||||
@@ -152,7 +152,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- if .Values.ruler.resources }}
|
||||
resources: {{- toYaml .Values.ruler.resources | nindent 12 }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.ruler.resources "context" $) | nindent 12 }}
|
||||
{{- else if ne .Values.ruler.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.ruler.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -116,7 +116,7 @@ spec:
|
||||
- containerPort: {{ .Values.loki.containerPorts.grpc }}
|
||||
name: grpc
|
||||
{{- if .Values.tableManager.resources }}
|
||||
resources: {{- toYaml .Values.tableManager.resources | nindent 12 }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.tableManager.resources "context" $) | nindent 12 }}
|
||||
{{- else if ne .Values.tableManager.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.tableManager.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user