istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/config/analysis/analyzers/testdata/deployment-pod-sec-uid.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: deploy-pod-sec-uid
     5    labels:
     6      app: helloworld
     7      version: v1
     8  spec:
     9    replicas: 1
    10    selector:
    11      matchLabels:
    12        app: helloworld
    13        version: v1
    14    template:
    15      metadata:
    16        labels:
    17          app: helloworld
    18          version: v1
    19      spec:
    20        securityContext:
    21          runAsUser: 1337
    22        containers:
    23        - name: helloworld
    24          image: docker.io/istio/examples-helloworld-v1
    25          resources:
    26            requests:
    27              cpu: "100m"
    28          imagePullPolicy: IfNotPresent #Always
    29          ports:
    30          - containerPort: 5000