PodSecurity: hostPathVolumes: regenerate files

This commit is contained in:
Jordan Liggitt 2021-07-07 17:54:38 -04:00
parent a39c448684
commit f709cf05f4
158 changed files with 1412 additions and 2010 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath0 name: hostpathvolumes0
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -10,18 +10,8 @@ spec:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {} - emptyDir: {}
name: volume-emptydir name: volume-emptydir
- configMap: - hostPath:
items: path: /a
- key: log_level name: volume-hostpath
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -11,11 +11,8 @@ spec:
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath0 name: hostpathvolumes0
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -10,18 +10,8 @@ spec:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {} - emptyDir: {}
name: volume-emptydir name: volume-emptydir
- configMap: - hostPath:
items: path: /a
- key: log_level name: volume-hostpath
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -11,11 +11,8 @@ spec:
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath0 name: hostpathvolumes0
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -10,18 +10,8 @@ spec:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {} - emptyDir: {}
name: volume-emptydir name: volume-emptydir
- configMap: - hostPath:
items: path: /a
- key: log_level name: volume-hostpath
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -11,11 +11,8 @@ spec:
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath0 name: hostpathvolumes0
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -10,18 +10,8 @@ spec:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {} - emptyDir: {}
name: volume-emptydir name: volume-emptydir
- configMap: - hostPath:
items: path: /a
- key: log_level name: volume-hostpath
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -11,11 +11,8 @@ spec:
name: initcontainer1 name: initcontainer1
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,27 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpath1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath-null
- hostPath:
path: /var/lib/docker
name: volume-hostpath-docker
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes1
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
volumes:
- hostPath:
path: /a
name: volume-hostpath-a
- hostPath:
path: /b
name: volume-hostpath-b

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath0 name: hostpathvolumes0
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -12,18 +12,8 @@ spec:
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {} - emptyDir: {}
name: volume-emptydir name: volume-emptydir
- configMap: - hostPath:
items: path: /a
- key: log_level name: volume-hostpath
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -13,11 +13,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath0 name: hostpathvolumes0
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -12,18 +12,8 @@ spec:
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {} - emptyDir: {}
name: volume-emptydir name: volume-emptydir
- configMap: - hostPath:
items: path: /a
- key: log_level name: volume-hostpath
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -13,11 +13,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,33 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -0,0 +1,23 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
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
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -17,11 +17,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,33 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -0,0 +1,23 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
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
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -17,11 +17,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,33 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -0,0 +1,23 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
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
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -17,11 +17,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

View File

@ -1,33 +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
volumes:
- hostPath:
path: /dev/null
name: volume-hostpath
- emptyDir: {}
name: volume-emptydir
- configMap:
items:
- key: log_level
path: log_level
name: configmap
name: volume-configmap
- name: configmap
persistentVolumeClaim:
claimName: hello
readOnly: true

View File

@ -0,0 +1,23 @@
apiVersion: v1
kind: Pod
metadata:
name: hostpathvolumes0
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
volumes:
- emptyDir: {}
name: volume-emptydir
- hostPath:
path: /a
name: volume-hostpath

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: hostpath1 name: hostpathvolumes1
spec: spec:
containers: containers:
- image: k8s.gcr.io/pause - image: k8s.gcr.io/pause
@ -17,11 +17,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
volumes: volumes:
- hostPath: - hostPath:
path: /dev/null path: /a
name: volume-hostpath-null name: volume-hostpath-a
- hostPath: - hostPath:
path: /var/lib/docker path: /b
name: volume-hostpath-docker name: volume-hostpath-b
- hostPath:
path: /sys
name: volume-hostpath-sys

Some files were not shown because too many files have changed in this diff Show More