Skip to content

Commit 19520b4

Browse files
committed
Add HOST env var in oc debug for sos report collects more
1 parent a09d8cf commit 19520b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/cli/debug/debug.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,11 @@ func (o *DebugOptions) approximatePodTemplateForObject(object runtime.Object) (*
10911091
Name: "TMOUT",
10921092
Value: "900",
10931093
},
1094+
{
1095+
// to collect more sos report requires this env var is set
1096+
Name: "HOST",
1097+
Value: "/host",
1098+
},
10941099
},
10951100
},
10961101
},

0 commit comments

Comments
 (0)