mirror of
https://github.com/niusmallnan/steve.git
synced 2025-07-01 08:51:54 +00:00
Add disable filter to allow exec/logs
This commit is contained in:
parent
3df58506a2
commit
5c32b4fb03
@ -557,7 +557,7 @@ func (s *PodImpersonation) augmentPod(pod *v1.Pod, sa *v1.ServiceAccount) *v1.Po
|
|||||||
Value: "/root/.kube/config",
|
Value: "/root/.kube/config",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Command: []string{"sh", "-c", "kubectl proxy || true"},
|
Command: []string{"sh", "-c", "kubectl proxy --disable-filter || true"},
|
||||||
SecurityContext: &v1.SecurityContext{
|
SecurityContext: &v1.SecurityContext{
|
||||||
RunAsUser: &zero,
|
RunAsUser: &zero,
|
||||||
RunAsGroup: &zero,
|
RunAsGroup: &zero,
|
||||||
|
Loading…
Reference in New Issue
Block a user