mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Fix selinux issue with the following node e2e test:
[Fail] [k8s.io] Container Runtime Conformance Test container runtime conformance blackbox test when starting a container that exits [It] it should run with the expected status [Conformance] /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/runtime_conformance_test.go:114
This commit is contained in:
committed by
Avesh Agarwal
parent
61a9358dbd
commit
ba85ce449a
@@ -34,7 +34,8 @@ type ConformanceContainer struct {
|
||||
Volumes []api.Volume
|
||||
ImagePullSecrets []string
|
||||
|
||||
podName string
|
||||
podName string
|
||||
PodSecurityContext *api.PodSecurityContext
|
||||
}
|
||||
|
||||
func (cc *ConformanceContainer) Create() {
|
||||
@@ -52,6 +53,7 @@ func (cc *ConformanceContainer) Create() {
|
||||
Containers: []api.Container{
|
||||
cc.Container,
|
||||
},
|
||||
SecurityContext: cc.PodSecurityContext,
|
||||
Volumes: cc.Volumes,
|
||||
ImagePullSecrets: imagePullSecrets,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user