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 apiVersion: v1
name: telegraf-ds name: telegraf-ds
version: 1.0.30 version: 1.0.31
appVersion: 1.21.1 appVersion: 1.21.4
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
keywords: keywords:
......
...@@ -46,7 +46,7 @@ The default configuration parameters are listed in `values.yaml`. To change the ...@@ -46,7 +46,7 @@ The default configuration parameters are listed in `values.yaml`. To change the
```console ```console
helm upgrade --install my-release \ 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 influxdata/telegraf-ds
``` ```
......
...@@ -15,8 +15,8 @@ spec: ...@@ -15,8 +15,8 @@ spec:
app.kubernetes.io/name: {{ include "telegraf.name" . }} app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
annotations: annotations:
# Include a hash of the configmap in the pod template # Include a hash of the configmap in the pod template
# This means that if the configmap changes, the deployment will be rolled # This means that if the configmap changes, the deployment will be rolled
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec: spec:
serviceAccountName: {{ template "telegraf.serviceAccountName" . }} serviceAccountName: {{ template "telegraf.serviceAccountName" . }}
...@@ -75,7 +75,7 @@ spec: ...@@ -75,7 +75,7 @@ spec:
- name: config - name: config
configMap: configMap:
name: {{ include "telegraf.fullname" . }} name: {{ include "telegraf.fullname" . }}
hostNetwork: {{ default .Values.hostNetwork false }} hostNetwork: {{ default false .Values.hostNetwork }}
{{- if .Values.dnsPolicy }} {{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }} dnsPolicy: {{ .Values.dnsPolicy }}
{{- end }} {{- end }}
...@@ -86,4 +86,4 @@ spec: ...@@ -86,4 +86,4 @@ spec:
{{- with .Values.podSecurityContext }} {{- with .Values.podSecurityContext }}
securityContext: securityContext:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
\ No newline at end of file
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