mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-05 19:21:46 +00:00
HostNetwork is now inlined in the pod spec
This commit is contained in:
@@ -65,7 +65,7 @@ func (p *pod) GetNode(probeID string) report.Node {
|
||||
report.ControlProbeID: probeID,
|
||||
}
|
||||
|
||||
if sc := p.Pod.Spec.SecurityContext; sc != nil && sc.HostNetwork {
|
||||
if p.Pod.Spec.HostNetwork {
|
||||
latests[IsInHostNetwork] = "true"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user