Skip to content

Commit

Permalink
Enable hostNetwor in collector pod (signalfx#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Stumpf authored Dec 8, 2020
1 parent 3b032eb commit 03894d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helm-charts/o11y-collector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
annotations:
checksum/config: {{ print (include (print $.Template.BasePath "/configmap-fluentd.yaml") .) (include (print $.Template.BasePath "/configmap-otel-agent.yaml") .) | sha256sum }}
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: {{ template "o11y-collector.serviceAccountName" . }}
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down
3 changes: 2 additions & 1 deletion helm-charts/o11y-collector/templates/podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ spec:
allowPrivilegeEscalation: true
allowedCapabilities:
- '*'
hostNetwork: false
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
hostIPC: false
hostPID: false
volumes:
Expand Down

0 comments on commit 03894d4

Please sign in to comment.