Skip to content

Commit

Permalink
Removed duplicated HOSTIP
Browse files Browse the repository at this point in the history
When this helm chart is deployed the HOSTIP env arg was duplicated in
the daemonset.

Signed-off-by: Caio Cesar Ferreira <[email protected]>
  • Loading branch information
caiocfer committed Oct 24, 2023
1 parent c2b092f commit e3197f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion charts/telegraf-ds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: telegraf-ds
version: 1.1.16
version: 1.1.18
appVersion: 1.28.1
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
Expand Down
4 changes: 0 additions & 4 deletions charts/telegraf-ds/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ spec:
{{ toYaml .Values.args | indent 8 }}
{{- end }}
env:
- name: HOSTIP
valueFrom:
fieldRef:
fieldPath: status.hostIP
{{ toYaml .Values.env | indent 8 }}
{{- if .Values.envFromSecret }}
envFrom:
Expand Down

0 comments on commit e3197f0

Please sign in to comment.