Merge pull request #118691 from giuseppe/drop-check-for-volumes
apis: drop check for volumes with user namespaces
This commit is contained in:
@@ -21740,8 +21740,8 @@ func TestValidateHostUsers(t *testing.T) {
|
||||
}},
|
||||
},
|
||||
}, {
|
||||
name: "hostUsers=false - unsupported volume",
|
||||
success: false,
|
||||
name: "hostUsers=false - stateful volume",
|
||||
success: true,
|
||||
spec: &core.PodSpec{
|
||||
SecurityContext: &core.PodSecurityContext{
|
||||
HostUsers: &falseVar,
|
||||
@@ -21754,7 +21754,6 @@ func TestValidateHostUsers(t *testing.T) {
|
||||
}},
|
||||
},
|
||||
}, {
|
||||
// It should ignore unsupported volumes with hostUsers=true.
|
||||
name: "hostUsers=true - unsupported volume",
|
||||
success: true,
|
||||
spec: &core.PodSpec{
|
||||
|
Reference in New Issue
Block a user