apiVersion: v1
kind: Pod
metadata:
  name: restrictedvolumes1
spec:
  containers:
  - image: k8s.gcr.io/pause
    name: container1
  initContainers:
  - image: k8s.gcr.io/pause
    name: initcontainer1
  securityContext:
    runAsNonRoot: true
  volumes:
  - awsElasticBlockStore:
      volumeID: testing
    name: volume-awselasticblockstore
