7.2.4 Creating the WDT YAML files

Generate the required WDT models for the Oracle Identity Governance (OIG) domain, along with the domain resource yaml files.

  1. Navigate to the $WORKDIR/kubernetes/create-oim-domain/domain-home-on-pv/wdt-utils/generate_models_utils
    cd $WORKDIR/kubernetes/create-oim-domain/domain-home-on-pv/wdt-utils/generate_models_utils
    
  2. Run the generate_wdt_models.sh, specifying your input file and an output directory to store the generated artifacts:
    ./generate_wdt_models.sh -i create-domain-wdt.yaml -o <path_to_output_directory>
    For example:
    ./generate_wdt_models.sh -i create-domain-wdt.yaml -o output
    The output will look similar to the following:
    input parameters being used
    export version="create-weblogic-sample-domain-inputs-v1"
    export appVersion="14c"
    export adminPort="7001"
    export domainUID="governancedomain"
    export configuredManagedServerCount="5"
    export initialManagedServerReplicas="1"
    export productionModeEnabled="true"
    export t3ChannelPort="30012"
    export datasourceType="generic"
    export edgInstall="false"
    export domainHome="/u01/oracle/user_projects/domains/governancedomain"
    export image="container-registry.oracle.com/middleware/oig_cpu:14.1.2.1.0-jdk17-ol8-<YYMMDD>"
    export imagePullSecretName="orclcred"
    export logHome="/u01/oracle/user_projects/domains/logs/governancedomain"
    export exposeAdminT3Channel="false"
    export adminNodePort="30701"
    export exposeAdminNodePort="false"
    export namespace="oigns"
    javaOptions=-Dweblogic.StdoutDebugEnabled=false
    export domainPVMountPath="/u01/oracle/user_projects"
    export weblogicDomainStorageType="NFS"
    export weblogicDomainStorageNFSServer="mynfsServer"
    export weblogicDomainStoragePath="/scratch/shared/governancedomainpv"
    export weblogicDomainStorageReclaimPolicy="Retain"
    export weblogicDomainStorageSize="10Gi"
    export frontEndHost="example.com"
    export frontEndPort="14000"
    export oimServerJavaParams="-Xms8192m -Xmx8192m "
    export soaServerJavaParams="-Xms8192m -Xmx8192m "
    export oimMaxCPU="2"
    export oimCPU="1000m"
    export oimMaxMemory="8Gi"
    export oimMemory="4Gi"
    export soaMaxCPU="1"
    export soaCPU="1000m"
    export soaMaxMemory="10Gi"
    export soaMemory="4Gi"
    	
    validateWlsDomainName called with governancedomain
    WDT model file, property file and sample domain.yaml are genereted successfully at output/weblogic-domains/governancedomain
    

    Note:

    This will generate the domain.yaml, oig.yaml and oig.properties in output/weblogic-domains/governancedomain.
  3. Copy the generated files to a $WORKDIR/yaml directory:
    mkdir $WORKDIR/yaml
    cp output/weblogic-domains/governancedomain/*.* $WORKDIR/yaml