Skip to content

Commit

Permalink
[prometheus-statsd-exporter] support topologySpreadConstraints settin…
Browse files Browse the repository at this point in the history
…gs. (#4197)

Signed-off-by: mugioka <[email protected]>
  • Loading branch information
mugioka authored Feb 3, 2024
1 parent 21c06e2 commit 1c5bc2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-statsd-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: prometheus-statsd-exporter
description: A Helm chart for prometheus stats-exporter
version: 0.12.0
version: 0.13.0
appVersion: v0.26.0
home: https://github.com/prometheus/statsd_exporter
sources:
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-statsd-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/prometheus-statsd-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,5 @@ nodeSelector: {}
tolerations: []

affinity: {}

topologySpreadConstraints: []

0 comments on commit 1c5bc2c

Please sign in to comment.