Commit f85b1abc authored by Enno Lohmeier's avatar Enno Lohmeier Committed by David McKay

allow passing args in telegraf/telegraf-ds

parent eadeed1d
apiVersion: v1
name: telegraf-ds
version: 1.0.12
version: 1.0.13
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -26,6 +26,10 @@ spec:
imagePullPolicy: {{ default "" .Values.image.pullPolicy | quote }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.args }}
args:
{{ toYaml .Values.args | indent 8 }}
{{- end }}
env:
- name: HOSTIP
valueFrom:
......
......@@ -17,6 +17,9 @@ resources:
memory: 2Gi
cpu: 1
## Configure args passed to Telegraf containers
args: []
env:
# This pulls HOSTNAME from the node, not the pod.
- name: HOSTNAME
......
apiVersion: v1
name: telegraf
version: 1.7.17
version: 1.7.18
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -28,6 +28,10 @@ spec:
imagePullPolicy: {{ default "" .Values.image.pullPolicy | quote }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.args }}
args:
{{ toYaml .Values.args | indent 8 }}
{{- end }}
env:
{{ toYaml .Values.env | indent 8 }}
volumeMounts:
......
......@@ -13,6 +13,9 @@ podAnnotations: {}
imagePullSecrets: []
## Configure args passed to Telegraf containers
args: []
env:
- name: HOSTNAME
value: "telegraf-polling-service"
......
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