github.com/verrazzano/verrazzano@v1.7.1/tests/testdata/istio/authz/noistio/sleep-comp.yaml (about)

     1  # Copyright (c) 2021, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  apiVersion: core.oam.dev/v1alpha2
     4  kind: Component
     5  metadata:
     6    name: sleep
     7    namespace: noistio
     8  spec:
     9    workload:
    10      apiVersion: core.oam.dev/v1alpha2
    11      kind: ContainerizedWorkload
    12      metadata:
    13        name: sleep-workload
    14        namespace: noistio
    15        labels:
    16          app: sleep
    17      spec:
    18        containers:
    19        - name: sleep
    20          image: "ghcr.io/oracle/oraclelinux:7-slim"
    21          command:
    22          - "/bin/sleep"
    23          - "3650d"
    24          ports:
    25            - containerPort: 80
    26              name: http