Skip to content

Commit

Permalink
[stable/msoms] support custom tolerations (helm#5506)
Browse files Browse the repository at this point in the history
* [stable/msoms] support custom tolerations

* [stable/msoms] bump minor version + add default []
  • Loading branch information
derekperkins authored and k8s-ci-robot committed May 11, 2018
1 parent be920c3 commit 41c6489
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/msoms/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: msoms
version: 0.1.3
version: 0.2.0
appVersion: 1.0.0-30
description: A chart for deploying omsagent as a daemonset Kubernetes
keywords:
Expand Down
4 changes: 4 additions & 0 deletions stable/msoms/templates/omsagent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,8 @@ spec:
operator: "Equal"
value: "true"
effect: "NoSchedule"
{{- if .Values.tolerations }}
{{ toYaml .Values.tolerations | indent 4 }}
{{- end }}

{{- end }}
3 changes: 3 additions & 0 deletions stable/msoms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ resources:
# Node selector - default to Linux as cannot deploy OMS agent container to Windows nodes
nodeSelector:
beta.kubernetes.io/os: linux

# optional tolerations to handle custom taints
tolerations: []

0 comments on commit 41c6489

Please sign in to comment.