mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/telegraf] Check for service.enabled (#15263)
* Check for service.enabled Signed-off-by: Raphael Couto <raphael.couto@gmail.com> * Removing dup lines Signed-off-by: Raphael Couto <raphael.couto@gmail.com> * Bump version Signed-off-by: Raphael Couto <raphael.couto@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ca77541782
commit
b5b2942c9f
@@ -1,6 +1,6 @@
|
||||
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.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- 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`
|
||||
|
||||
Reference in New Issue
Block a user