Unverified Commit d0e9600b authored by alespour's avatar alespour Committed by GitHub

[telegraf-ds] minor fixes (#415)

* fix hostNetwork default * remove non-printable unicode char * docs: fix example of usage * update telegraf to 1.21.4
parent 80dd9d47
apiVersion: v1
name: telegraf-ds
version: 1.0.30
appVersion: 1.21.1
version: 1.0.31
appVersion: 1.21.4
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
keywords:
......
......@@ -46,7 +46,7 @@ The default configuration parameters are listed in `values.yaml`. To change the
```console
helm upgrade --install my-release \
--set config.outputs.influxdb.url=http://foo.bar:8086 \
--set outputs.influxdb.urls=["http://foo.bar:8086"] \
influxdata/telegraf-ds
```
......
......@@ -15,8 +15,8 @@ spec:
app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
annotations:
# Include a hash of the configmap in the pod template
# This means that if the configmap changes, the deployment will be rolled
# Include a hash of the configmap in the pod template
# This means that if the configmap changes, the deployment will be rolled
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
serviceAccountName: {{ template "telegraf.serviceAccountName" . }}
......@@ -75,7 +75,7 @@ spec:
- name: config
configMap:
name: {{ include "telegraf.fullname" . }}
hostNetwork: {{ default .Values.hostNetwork false }}
hostNetwork: {{ default false .Values.hostNetwork }}
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{- end }}
......@@ -86,4 +86,4 @@ spec:
{{- with .Values.podSecurityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}
\ No newline at end of file
{{- end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment