Skip to content

Commit

Permalink
Merge pull request #339 from mamercad/st2client-resources
Browse files Browse the repository at this point in the history
Set `st2client` resources by `values.yaml`
  • Loading branch information
arm4b authored Dec 19, 2022
2 parents 857fd7d + 4739ebc commit b45c859
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## In Development
* Set `st2client` resources by `values.yaml`. (#337) (by @mamercad)
* Switch to the official `bats` Docker image for e2e tests. (#338)
* Temporary workaround for #311 to use previous bitnami index from: https://github.com/bitnami/charts/issues/10539 (#312 #318) (by @0xhaven)
* Refactor label definitions to be more consistent by building labels and label selectors in partial helper templates. (#299) (by @cognifloyd)
Expand Down
4 changes: 1 addition & 3 deletions templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1653,9 +1653,7 @@ spec:
exec:
command: ["/bin/bash", "/post-start.sh"]
resources:
requests:
memory: "5Mi"
cpu: "5m"
{{- toYaml .Values.st2client.resources | nindent 10 }}
volumes:
{{- if ne "disable" (default "" .Values.st2.datastore_crypto_key) }}
- name: st2-encryption-key-vol
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,10 @@ st2client:
nodeSelector: {}
tolerations: []
affinity: {}
resources:
requests:
memory: "5Mi"
cpu: "5m"

# https://docs.stackstorm.com/reference/ha.html#st2garbagecollector
# Optional service that cleans up old executions and other operations data based on setup configurations.
Expand Down

0 comments on commit b45c859

Please sign in to comment.