mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
PSA: update procmount tests to have hostUsers
Signed-off-by: Peter Hunt <pehunt@redhat.com>
This commit is contained in:
parent
23706cb90c
commit
1f9c271c8c
@ -27,6 +27,7 @@ func TestProcMount(t *testing.T) {
|
||||
unmaskedValue := corev1.UnmaskedProcMount
|
||||
otherValue := corev1.ProcMountType("other")
|
||||
|
||||
hostUsers := false
|
||||
tests := []struct {
|
||||
name string
|
||||
pod *corev1.Pod
|
||||
@ -43,6 +44,7 @@ func TestProcMount(t *testing.T) {
|
||||
{Name: "d", SecurityContext: &corev1.SecurityContext{ProcMount: &unmaskedValue}},
|
||||
{Name: "e", SecurityContext: &corev1.SecurityContext{ProcMount: &otherValue}},
|
||||
},
|
||||
HostUsers: &hostUsers,
|
||||
}},
|
||||
expectReason: `procMount`,
|
||||
expectDetail: `containers "d", "e" must not set securityContext.procMount to "Unmasked", "other"`,
|
||||
|
@ -23,6 +23,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
hostUsers := false
|
||||
fixtureData_1_0 := fixtureGenerator{
|
||||
expectErrorSubstring: "procMount",
|
||||
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
||||
@ -33,6 +34,7 @@ func init() {
|
||||
validProcMountType := corev1.DefaultProcMount
|
||||
copy.Spec.Containers[0].SecurityContext.ProcMount = &validProcMountType
|
||||
copy.Spec.InitContainers[0].SecurityContext.ProcMount = &validProcMountType
|
||||
copy.Spec.HostUsers = &hostUsers
|
||||
}),
|
||||
}
|
||||
},
|
||||
@ -44,11 +46,13 @@ func init() {
|
||||
tweak(p, func(copy *corev1.Pod) {
|
||||
unmaskedProcMountType := corev1.UnmaskedProcMount
|
||||
copy.Spec.Containers[0].SecurityContext.ProcMount = &unmaskedProcMountType
|
||||
copy.Spec.HostUsers = &hostUsers
|
||||
}),
|
||||
// set proc mount of init container to a forbidden value
|
||||
tweak(p, func(copy *corev1.Pod) {
|
||||
unmaskedProcMountType := corev1.UnmaskedProcMount
|
||||
copy.Spec.InitContainers[0].SecurityContext.ProcMount = &unmaskedProcMountType
|
||||
copy.Spec.HostUsers = &hostUsers
|
||||
}),
|
||||
}
|
||||
},
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -7,6 +7,7 @@ spec:
|
||||
- image: registry.k8s.io/pause
|
||||
name: container1
|
||||
securityContext: {}
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
procMount: Default
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -9,6 +9,7 @@ spec:
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
procMount: Unmasked
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
@ -8,6 +8,7 @@ spec:
|
||||
name: container1
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
hostUsers: false
|
||||
initContainers:
|
||||
- image: registry.k8s.io/pause
|
||||
name: initcontainer1
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user