github.com/verrazzano/verrazzano@v1.7.0/application-operator/controllers/webhooks/testdata/hello-workload.yaml (about)

     1  # Copyright (c) 2022, 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  
     4  apiVersion: core.oam.dev/v1alpha2
     5  kind: ContainerizedWorkload
     6  metadata:
     7    annotations:
     8      description: Hello application
     9    name: hello-workload
    10    namespace: default
    11  spec:
    12    containers:
    13    - args:
    14      - /bin/sh
    15      - -c
    16      - echo 'sleeping'; sleep 50000;
    17      image: ghcr.io/oracle/oraclelinux:7-slim
    18      name: hello
    19      ports:
    20      - containerPort: 8080
    21        name: http
    22  status:
    23    resources:
    24    - apiVersion: apps/v1
    25      kind: Deployment
    26      name: hello-workload
    27    - apiVersion: v1
    28      kind: Service
    29      name: hello-workload