Commit f7760be1 authored by Sebastian Spaink's avatar Sebastian Spaink

fix: address more linter issues

parent 6cf09316
...@@ -32,14 +32,14 @@ env: ...@@ -32,14 +32,14 @@ env:
- name: HOSTNAME - name: HOSTNAME
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
# In test clusters where hostnames are resolved in /etc/hosts on each node, # In test clusters where hostnames are resolved in /etc/hosts on each node,
# the HOSTNAME is not resolvable from inside containers # the HOSTNAME is not resolvable from inside containers
# So inject the host IP as well # So inject the host IP as well
- name: HOSTIP - name: HOSTIP
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: status.hostIP fieldPath: status.hostIP
# Mount the host filesystem and set the appropriate env variables. # Mount the host filesystem and set the appropriate env variables.
# ref: https://github.com/influxdata/telegraf/blob/master/docs/FAQ.md # ref: https://github.com/influxdata/telegraf/blob/master/docs/FAQ.md
# HOST_PROC is required by the cpu, disk, diskio, kernel and processes input plugins # HOST_PROC is required by the cpu, disk, diskio, kernel and processes input plugins
...@@ -136,7 +136,7 @@ config: ...@@ -136,7 +136,7 @@ config:
outputs: outputs:
- influxdb: - influxdb:
urls: urls:
- "http://influxdb.monitoring.svc:8086" - "http://influxdb.monitoring.svc:8086"
database: "telegraf" database: "telegraf"
retention_policy: "" retention_policy: ""
timeout: "5s" timeout: "5s"
......
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