...

Text file src/k8s.io/kubernetes/hack/testdata/deployment-with-UnixUserID.yaml

Documentation: k8s.io/kubernetes/hack/testdata

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: deployment-with-unixuserid
     5  labels:
     6    app: nginx
     7spec:
     8  replicas: 1
     9  selector:
    10    matchLabels:
    11      app: nginx
    12  template:
    13    metadata:
    14      labels:
    15        app: nginx
    16    spec:
    17      containers:
    18      - name: nginx
    19        image: nginx:1.7.9
    20      securityContext:
    21        runAsNonRoot: true
    22        runAsUser: 65534
    23

View as plain text