Merge pull request #103517 from liggitt/podsecurity-fixture-cleanup
Podsecurity fixture cleanup
This commit is contained in:
@@ -170,8 +170,8 @@ func getFixtures(key fixtureKey) (fixtureData, error) {
|
|||||||
if len(data.expectErrorSubstring) == 0 {
|
if len(data.expectErrorSubstring) == 0 {
|
||||||
data.expectErrorSubstring = key.check
|
data.expectErrorSubstring = key.check
|
||||||
}
|
}
|
||||||
if len(data.pass) == 0 || len(data.fail) == 0 {
|
if len(data.fail) == 0 {
|
||||||
return fixtureData{}, fmt.Errorf("generatePass/generateFail for %#v must return at least one pod each", key)
|
return fixtureData{}, fmt.Errorf("generateFail for %#v must return at least one pod", key)
|
||||||
}
|
}
|
||||||
return data, nil
|
return data, nil
|
||||||
}
|
}
|
||||||
|
@@ -34,10 +34,8 @@ containerFields: []string{
|
|||||||
func init() {
|
func init() {
|
||||||
fixtureData_1_8 := fixtureGenerator{
|
fixtureData_1_8 := fixtureGenerator{
|
||||||
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{
|
// minimal valid pod already captures all valid combinations
|
||||||
// only valid pod is to explicitly set allowPrivilegeEscalation to false in all containers
|
return nil
|
||||||
p,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{
|
return []*corev1.Pod{
|
||||||
|
@@ -30,7 +30,8 @@ func init() {
|
|||||||
fixtureData_1_0 := fixtureGenerator{
|
fixtureData_1_0 := fixtureGenerator{
|
||||||
expectErrorSubstring: "host namespaces",
|
expectErrorSubstring: "host namespaces",
|
||||||
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{p} // minimal valid pod
|
// minimal valid pod already captures all valid combinations
|
||||||
|
return nil
|
||||||
},
|
},
|
||||||
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{
|
return []*corev1.Pod{
|
||||||
|
@@ -30,7 +30,8 @@ func init() {
|
|||||||
fixtureData_1_0 := fixtureGenerator{
|
fixtureData_1_0 := fixtureGenerator{
|
||||||
expectErrorSubstring: "hostPath volumes",
|
expectErrorSubstring: "hostPath volumes",
|
||||||
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{p} // minimal valid pod
|
// minimal valid pod already captures all valid combinations
|
||||||
|
return nil
|
||||||
},
|
},
|
||||||
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{
|
return []*corev1.Pod{
|
||||||
|
@@ -39,7 +39,8 @@ func init() {
|
|||||||
|
|
||||||
fixtureData_1_0 := fixtureGenerator{
|
fixtureData_1_0 := fixtureGenerator{
|
||||||
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
generatePass: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
return []*corev1.Pod{p}
|
// minimal valid pod already captures all valid combinations
|
||||||
|
return nil
|
||||||
},
|
},
|
||||||
failRequiresFeatures: []featuregate.Feature{"WindowsHostProcessContainers"},
|
failRequiresFeatures: []featuregate.Feature{"WindowsHostProcessContainers"},
|
||||||
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
generateFail: func(p *corev1.Pod) []*corev1.Pod {
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: allowprivilegeescalation0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: allowprivilegeescalation0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: allowprivilegeescalation0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: allowprivilegeescalation0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: allowprivilegeescalation0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostnamespaces0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostpath0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: hostprocess0
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: container1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
initContainers:
|
|
||||||
- image: k8s.gcr.io/pause
|
|
||||||
name: initcontainer1
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user