Skip to content

Commit 3312c7f

Browse files
committed
Initial change for owls-70853
Signed-off-by: doxiao <[email protected]>
1 parent 2282aa8 commit 3312c7f

File tree

8 files changed

+0
-56
lines changed

8 files changed

+0
-56
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ The following parameters can be provided in the inputs file.
8686
| `adminNodePort` | Port number of the Administration Server outside the Kubernetes cluster. | `30701` |
8787
| `adminServerName` | Name of the Administration Server. | `admin-server` |
8888
| `clusterName` | Name of the WebLogic cluster instance to generate for the domain. | `cluster-1` |
89-
| `clusterType` | Type of the WebLogic Cluster. Legal values are `CONFIGURED` or `DYNAMIC`. | `DYNAMIC` |
9089
| `configuredManagedServerCount` | Number of Managed Server instances to generate for the domain. | `5` |
9190
| `domainHomeImageBase` | Base WebLogic binary image used to build the WebLogic domain image. The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one. If a different `domainHomeImageBase` (see Configuration table below) is specified, the specified image needs to be built locally or pulled from a repository before the `create-domain.sh` script is executed. | |
9291
| `domainHomeImageBuildPath` | Location of the WebLogic "domain home in image" Docker image in `https://github.com/oracle/docker-images.git` project. If not specified, use "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt". Another possible value is "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image" which uses WLST scripts, instead of WDT, to generate the domain configuration. | `./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt` |

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ adminServerName: admin-server
1515
# in a Kubernetes cluster.
1616
domainUID: domain1
1717

18-
# Type of WebLogic Cluster
19-
# Legal values are "CONFIGURED" or "DYNAMIC"
20-
clusterType: DYNAMIC
21-
2218
# Determines which WebLogic Servers the Operator will start up
2319
# Legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
2420
serverStartPolicy: IF_NEEDED

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ function createFiles {
193193
sed -i -e "s:%CONFIGURED_MANAGED_SERVER_COUNT%:${configuredManagedServerCount}:g" ${domainPropertiesOutput}
194194
sed -i -e "s:%CLUSTER_NAME%:${clusterName}:g" ${domainPropertiesOutput}
195195
sed -i -e "s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled}:g" ${domainPropertiesOutput}
196-
sed -i -e "s:%CLUSTER_TYPE%:${clusterType}:g" ${domainPropertiesOutput}
197196
sed -i -e "s:%JAVA_OPTIONS%:${javaOptions}:g" ${domainPropertiesOutput}
198197
sed -i -e "s:%T3_CHANNEL_PORT%:${t3ChannelPort}:g" ${domainPropertiesOutput}
199198
sed -i -e "s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress}:g" ${domainPropertiesOutput}

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/properties-template.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ DB_PORT=1527
1111
DEBUG_FLAG=true
1212
DERBY_FLAG=true
1313
PRODUCTION_MODE_ENABLED=%PRODUCTION_MODE_ENABLED%
14-
CLUSTER_TYPE=%CLUSTER_TYPE%
1514
JAVA_OPTIONS=%JAVA_OPTIONS%
1615
T3_CHANNEL_PORT=%T3_CHANNEL_PORT%
1716
T3_PUBLIC_ADDRESS=%T3_PUBLIC_ADDRESS%

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ The following parameters can be provided in the inputs file.
7373
| `adminNodePort` | Port number of the Administration Server outside the Kubernetes cluster. | `30701` |
7474
| `adminServerName` | Name of the Administration Server. | `admin-server` |
7575
| `clusterName` | Name of the WebLogic cluster instance to generate for the domain. | `cluster-1` |
76-
| `clusterType` | Type of the WebLogic Cluster. Legal values are `CONFIGURED` or `DYNAMIC`. | `DYNAMIC` |
7776
| `configuredManagedServerCount` | Number of Managed Server instances to generate for the domain. | `5` |
7877
| `createDomainFilesDir` | Directory to get all the create domain scripts and supporting files, including the script that is specified by the `createDomainScriptName` property. By default, this directory is set to the relative path `wlst`, and the create script will use the built-in WLST offline scripts in the `wlst` directory to create the WebLogic domain. It can also be set to the relative path `wdt`, and then the built-in WDT scripts will be used instead. An absolute path is also supported to point to an arbitrary directory in the file system. | `wlst` |
7978
| `createDomainScriptsMountPath` | Mount path of the directory where the create domain scripts are located inside the pod. | `/u01/weblogic` |

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-inputs.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ domainUID: domain1
1818
# If not specified, the value is derived from the domainUID as /shared/domains/<domainUID>
1919
domainHome: /shared/domains/domain1
2020

21-
# Type of WebLogic Cluster
22-
# Legal values are "CONFIGURED" or "DYNAMIC"
23-
clusterType: DYNAMIC
24-
2521
# Determines which WebLogic Servers the Operator will start up
2622
# Legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
2723
serverStartPolicy: IF_NEEDED

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ function createFiles {
227227
sed -i -e "s:%T3_CHANNEL_PORT%:${t3ChannelPort}:g" ${createJobOutput}
228228
sed -i -e "s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress}:g" ${createJobOutput}
229229
sed -i -e "s:%CLUSTER_NAME%:${clusterName}:g" ${createJobOutput}
230-
sed -i -e "s:%CLUSTER_TYPE%:${clusterType}:g" ${createJobOutput}
231230
sed -i -e "s:%DOMAIN_PVC_NAME%:${persistentVolumeClaimName}:g" ${createJobOutput}
232231
sed -i -e "s:%DOMAIN_ROOT_DIR%:${domainPVMountPath}:g" ${createJobOutput}
233232
sed -i -e "s:%CREATE_DOMAIN_SCRIPT_DIR%:${createDomainScriptsMountPath}:g" ${createJobOutput}
@@ -312,10 +311,6 @@ function createDomainConfigmap {
312311
# domain in the job.
313312
echo domainName: $domainName >> ${externalFilesTmpDir}/create-domain-inputs.yaml
314313

315-
if [ -f ${externalFilesTmpDir}/prepare.sh ]; then
316-
sh ${externalFilesTmpDir}/prepare.sh -t ${clusterType} -i ${externalFilesTmpDir}
317-
fi
318-
319314
# create the configmap and label it properly
320315
local cmName=${domainUID}-create-weblogic-sample-domain-job-cm
321316
kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/wdt/prepare.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)