Commit 423cd2d9 authored by Raphael Couto's avatar Raphael Couto Committed by Kubernetes Prow Robot

[stable/telegraf] Check for service.enabled (#15263)

* Check for service.enabled Signed-off-by: 's avatarRaphael Couto <raphael.couto@gmail.com> * Removing dup lines Signed-off-by: 's avatarRaphael Couto <raphael.couto@gmail.com> * Bump version Signed-off-by: 's avatarRaphael Couto <raphael.couto@gmail.com>
parent 8716b2e5
apiVersion: v1
name: telegraf
version: 1.1.3
version: 1.1.4
appVersion: 1.10
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
{{- if .Values.service.enabled -}}
apiVersion: v1
kind: Service
metadata:
......@@ -45,3 +46,4 @@ spec:
selector:
app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
......@@ -26,6 +26,7 @@ resources: {}
# cpu: 100m
service:
enabled: true
type: ClusterIP
## Exposed telegraf configuration
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
......
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