Skip to content

Commit

Permalink
[Sematext Docker Agent] Add support for tolerations and other minor i…
Browse files Browse the repository at this point in the history
…mprovements (helm#6127)

* Add support for tolerations and other minor improvements

* Update Chart.yaml
  • Loading branch information
komljen authored and k8s-ci-robot committed Jun 17, 2018
1 parent 3e56f7f commit 3e22815
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions stable/sematext-docker-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sematext-docker-agent
version: 0.1.5
appVersion: 1.31.50
version: 0.2.0
appVersion: 1.31.53
description: Sematext Docker Agent
keywords:
- alerts
Expand Down
9 changes: 8 additions & 1 deletion stable/sematext-docker-agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ spec:
selector:
matchLabels:
app: {{ template "sematext.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "sematext.name" . }}
name: {{ template "sematext.name" . }}
release: {{ .Release.Name }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
{{- if .Values.sematext.useHostNetwork }}
hostNetwork: {{ .Values.sematext.useHostNetwork }}
Expand Down Expand Up @@ -61,4 +64,8 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
nodeSelector:
{{ toYaml .Values.sematext.nodeSelector | indent 8 }}
tolerations:
{{ toYaml .Values.sematext.tolerations | indent 8 }}
{{- end }}
8 changes: 7 additions & 1 deletion stable/sematext-docker-agent/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
repository: sematext/sematext-agent-docker
# For all available tags check here https://hub.docker.com/r/sematext/sematext-agent-docker/tags/
tag: 1.31.50
tag: 1.31.53
pullPolicy: IfNotPresent

sematext:
Expand Down Expand Up @@ -34,3 +34,9 @@ sematext:
# limits:
# cpu: 1000m
# memory: 1024Mi

tolerations: []

# Node labels for pod assignment
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}

0 comments on commit 3e22815

Please sign in to comment.