Skip to content

Commit

Permalink
Allow resources to be set for smoke-test job (#10609)
Browse files Browse the repository at this point in the history
* Allow resources to be set for smoke-test job

* Update CHANGELOG with #10608

* Update CHANGELOG with #10608

* Add a default resoruces value

* Fixing conditional end statement for resources
  • Loading branch information
mveitas authored and ying-jeanne committed Feb 20, 2025
1 parent 9786976 commit bd3f71b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions operations/helm/charts/mimir-distributed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Entries should include a reference to the Pull Request that introduced the chang
* [ENHANCEMENT] Minio: update subchart to v5.4.0. #10346
* [ENHANCEMENT] Individual mimir components can override their container images via the *.image values. The component's image definitions always override the values set in global `image` or `enterprise.image`. #10340
* [ENHANCEMENT] Alertmanager, compactor, ingester, and store-gateway StatefulSets can configure their PVC template name via the corresponding *.persistentVolume.name values. #10376
* [ENHANCEMENT] Set resources for smoke-test job. #10608
* [BUGFIX] Fix calculation of `mimir.siToBytes` and use floating point arithmetics. #10044

## 5.6.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ spec:
{{- range $key, $value := .Values.smoke_test.extraArgs }}
- -{{ $key }}={{ $value }}
{{- end }}
{{- if .Values.smoke_test.resources }}
resources:
{{ toYaml .Values.smoke_test.resources | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.smoke_test.extraVolumeMounts }}
{{ toYaml .Values.smoke_test.extraVolumeMounts | nindent 12 }}
Expand Down
1 change: 1 addition & 0 deletions operations/helm/charts/mimir-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4690,6 +4690,7 @@ smoke_test:
extraEnvFrom: []
annotations: {}
initContainers: []
resources: {}
# -- The name of the PriorityClass for smoke-test pods
priorityClassName: null

Expand Down

0 comments on commit bd3f71b

Please sign in to comment.