github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/wls_workload_instance.yaml (about)

     1  # Copyright (c) 2021, 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  apiVersion: oam.verrazzano.io/v1alpha1
     4  kind: VerrazzanoWebLogicWorkload
     5  metadata:
     6    labels:
     7      app.oam.dev/name: {{.APPCONF_NAME}}
     8      app.oam.dev/component: {{.COMPONENT_NAME}}
     9      app.oam.dev/resourceType: WORKLOAD
    10      app.oam.dev/revision: bobby-wls-v1
    11    name: {{.WORKLOAD_NAME}}
    12    namespace: {{.WORKLOAD_NAMESPACE}}
    13    ownerReferences:
    14      - apiVersion: core.oam.dev/v1alpha2
    15        blockOwnerDeletion: true
    16        controller: true
    17        kind: ApplicationConfiguration
    18        name: {{.APPCONF_NAME}}
    19        uid: 0afe12fb-ea1a-41ab-8566-e2febf05cd89
    20  spec:
    21    template:
    22      metadata:
    23        labels:
    24          weblogic.domainUID: bobbys-front-end
    25          weblogic.resourceVersion: domain-v8
    26        name: {{.DOMAIN_NAME}}
    27        namespace: {{.DOMAIN_NAMESPACE}}
    28      spec:
    29        clusters:
    30          - clusterName: cluster-1
    31        configuration:
    32          introspectorJobActiveDeadlineSeconds: 300
    33          model:
    34            runtimeEncryptionSecret: bobbys-front-end-runtime-encrypt-secret
    35        domainHome: /u01/oracle/user_projects/domains/bobbys-front-end
    36        domainHomeSourceType: FromModel
    37        domainUID: bobbys-front-end
    38        image: test-image
    39        imagePullSecrets:
    40          - name: bobs-books-repo-credentials
    41        includeServerOutInPodLog: true
    42        replicas: 1
    43        serverPod:
    44          env:
    45            - name: JAVA_OPTIONS
    46              value: -Dweblogic.StdoutDebugEnabled=false
    47            - name: USER_MEM_ARGS
    48              value: -Djava.security.egd=file:/dev/./urandom
    49            - name: HELIDON_HOSTNAME
    50              value: bobbys-helidon-stock-application.bobs-books.svc.cluster.local
    51            - name: HELIDON_PORT
    52              value: "8080"
    53            - name: WL_HOME
    54              value: /u01/oracle/wlserver
    55            - name: MW_HOME
    56              value: /u01/oracle
    57        webLogicCredentialsSecret:
    58          name: bobbys-front-end-weblogic-credentials