k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/hack/testdata/deployment-with-UnixUserID.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: deployment-with-unixuserid 5 labels: 6 app: nginx 7 spec: 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