Skip to content

Commit

Permalink
provision/kubernetes: allow setting hostpid in daemonset spec
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarsa committed Feb 15, 2019
1 parent bc5770e commit 1cfbb40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions provision/kubernetes/nodecontainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func (m *nodeContainerManager) deployNodeContainerForCluster(client *ClusterClie
Labels: ls.ToLabels(),
},
Spec: apiv1.PodSpec{
HostPID: config.HostConfig.PidMode == "host",
ImagePullSecrets: pullSecrets,
ServiceAccountName: serviceAccountName,
Affinity: affinity,
Expand Down

0 comments on commit 1cfbb40

Please sign in to comment.