github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/wls_component.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: core.oam.dev/v1alpha2
     4  kind: Component
     5  metadata:
     6    name: {{.COMPONENT_NAME}}
     7    namespace: {{.COMPONENT_NAMESPACE}}
     8  spec:
     9    workload:
    10      apiVersion: oam.verrazzano.io/v1alpha1
    11      kind: VerrazzanoWebLogicWorkload
    12      spec:
    13        template:
    14          metadata:
    15            name: {{.WORKLOAD_NAME}}
    16            namespace: {{.WORKLOAD_NAMESPACE}}
    17            labels:
    18              weblogic.resourceVersion: domain-v8
    19              weblogic.domainUID: bobbys-front-end
    20          spec:
    21            domainUID: bobbys-front-end
    22            domainHome: /u01/oracle/user_projects/domains/bobbys-front-end
    23            image: test-image-name
    24            imagePullSecrets:
    25              - name: bobs-books-repo-credentials
    26            domainHomeSourceType: "FromModel"
    27            includeServerOutInPodLog: true
    28            replicas: 1
    29            webLogicCredentialsSecret:
    30              name: bobbys-front-end-weblogic-credentials
    31            clusters:
    32              - clusterName: cluster-1
    33            configuration:
    34              introspectorJobActiveDeadlineSeconds: 300
    35              model:
    36                runtimeEncryptionSecret: bobbys-front-end-runtime-encrypt-secret
    37            serverPod:
    38              env:
    39                - name: JAVA_OPTIONS
    40                  value: "-Dweblogic.StdoutDebugEnabled=false"
    41                - name: USER_MEM_ARGS
    42                  value: "-Djava.security.egd=file:/dev/./urandom"
    43                - name: HELIDON_HOSTNAME
    44                  value: "bobbys-helidon-stock-application.bobs-books.svc.cluster.local"
    45                - name: HELIDON_PORT
    46                  value: "8080"
    47                - name: WL_HOME
    48                  value: /u01/oracle/wlserver
    49                - name: MW_HOME
    50                  value: /u01/oracle