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.
- 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
- Run the
generate_wdt_models.sh
, specifying your input file and an output directory to store the generated artifacts:
For example:./generate_wdt_models.sh -i create-domain-wdt.yaml -o <path_to_output_directory>
The output will look similar to the following:./generate_wdt_models.sh -i create-domain-wdt.yaml -o output
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 thedomain.yaml
,oig.yaml
andoig.properties
inoutput/weblogic-domains/governancedomain
. - Copy the generated files to a
$WORKDIR/yaml
directory:mkdir $WORKDIR/yaml
cp output/weblogic-domains/governancedomain/*.* $WORKDIR/yaml