mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix selinux issue with following node e2e test:
[Fail] [k8s.io] Kubelet metrics api when querying /stats/summary [It] it should report resource usage through the stats api /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:158
This commit is contained in:
parent
bf4d9b6686
commit
cbb620678d
@ -178,6 +178,11 @@ func createSummaryTestPods(f *framework.Framework, podNamePrefix string, count i
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
SecurityContext: &api.PodSecurityContext{
|
||||||
|
SELinuxOptions: &api.SELinuxOptions{
|
||||||
|
Level: "s0",
|
||||||
|
},
|
||||||
|
},
|
||||||
Volumes: []api.Volume{
|
Volumes: []api.Volume{
|
||||||
// TODO: Test secret volumes
|
// TODO: Test secret volumes
|
||||||
// TODO: Test hostpath volumes
|
// TODO: Test hostpath volumes
|
||||||
|
Loading…
Reference in New Issue
Block a user