Skip to content

Commit

Permalink
[stable/telegraf] Check for service.enabled (helm#15263)
Browse files Browse the repository at this point in the history
* Check for service.enabled

Signed-off-by: Raphael Couto <[email protected]>

* Removing dup lines

Signed-off-by: Raphael Couto <[email protected]>

* Bump version

Signed-off-by: Raphael Couto <[email protected]>
  • Loading branch information
raphaelquati authored and Thomas Tischner committed Aug 13, 2019
1 parent cda53b6 commit 73088e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/telegraf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions stable/telegraf/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.service.enabled -}}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -45,3 +46,4 @@ spec:
selector:
app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
1 change: 1 addition & 0 deletions stable/telegraf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 73088e9

Please sign in to comment.