Skip to content

Commit

Permalink
Add configurable tolerations in helm (#114)
Browse files Browse the repository at this point in the history
* fix: add tolerations to deployment manifest

* chore add empty default tolerations value

* Add: changes to changelog

* fix: accidental typo
  • Loading branch information
audriusb committed Jun 2, 2022
1 parent 7f5b7ea commit 47ff8d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support sharding report metrics across multiple instances of the exporter.
- Set `runAsNonRoot` and use `RuntimeDefault` seccomp profile.
- Make replica count configurable in Helm values.
- Add configurable tolerations to Helm values.

## [0.4.1] - 2022-04-26

Expand Down
4 changes: 4 additions & 0 deletions helm/starboard-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ spec:
nodeSelector:
{{- . | toYaml | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- . | toYaml | nindent 8 }}
{{- end }}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down
1 change: 1 addition & 0 deletions helm/starboard-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pod:
id: 1000

nodeSelector: {}
tolerations: {}

# container securityContext
securityContext:
Expand Down

0 comments on commit 47ff8d4

Please sign in to comment.