Unverified Commit a8157a94 authored by Karl Böhlmark's avatar Karl Böhlmark Committed by GitHub

feat: Add support for hostNetwork: true to telegraf-ds (#99)

* feat: Add support for hostNetwork: true to telegraf-ds * bump telegraf-ds version to 1.0.10 * telegraf-ds: document hostNetwork and dnsPolicy settings in values.yaml
parent 13ed7796
...@@ -68,3 +68,7 @@ spec: ...@@ -68,3 +68,7 @@ spec:
- name: config - name: config
configMap: configMap:
name: {{ include "telegraf.fullname" . }} name: {{ include "telegraf.fullname" . }}
hostNetwork: {{ default .Values.hostNetwork false }}
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{- end }}
...@@ -40,6 +40,13 @@ env: ...@@ -40,6 +40,13 @@ env:
## ##
tolerations: [] tolerations: []
## If the DaemonSet should run on the host's network namespace
## hostNetwork: true
## If using hostNetwork=true, set dnsPolicy to ClusterFirstWithHostNet
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#
## dnsPolicy: ClusterFirstWithHostNet
rbac: rbac:
# Specifies whether RBAC resources should be created # Specifies whether RBAC resources should be created
create: true create: true
......
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