Commit 8716b2e5 authored by Raphael Couto's avatar Raphael Couto Committed by Kubernetes Prow Robot

[stable/telegraf] Allow ENV vars (#15265)

* Allow ENV vars Signed-off-by: 's avatarRaphael Couto <raphael.couto@gmail.com> * Version bump Signed-off-by: 's avatarRaphael Couto <raphael.couto@gmail.com> * Fixing lint Signed-off-by: 's avatarRaphael Couto <raphael.couto@gmail.com>
parent b076c6ba
apiVersion: v1
name: telegraf
version: 1.1.2
version: 1.1.3
appVersion: 1.10
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -29,8 +29,7 @@ spec:
resources:
{{ toYaml .Values.resources | indent 10 }}
env:
- name: HOSTNAME
value: "telegraf-polling-service"
{{ toYaml .Values.env | indent 8 }}
volumeMounts:
- name: config
mountPath: /etc/telegraf
......
......@@ -11,6 +11,10 @@ image:
podAnnotations: {}
env:
- name: HOSTNAME
value: "telegraf-polling-service"
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources: {}
......
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