Skip to content

Commit d204689

Browse files
committed
merge version number updates from 2.0-rc1
1 parent 48ae80f commit d204689

File tree

7 files changed

+20
-11
lines changed

7 files changed

+20
-11
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The sample scripts demonstrate the creation of a WebLogic domain home in a Docke
66

77
The following prerequisites must be handled prior to running the create domain script:
88
* Make sure the WebLogic operator is running.
9+
* 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.
910
* Create a Kubernetes namespace for the domain unless the intention is to use the default namespace.
1011
* Create the Kubernetes secrets `username` and `password` of the admin account in the same Kubernetes namespace as the domain.
1112
* Build the Oracle WebLogic image `oracle/weblogic:12.2.1.3-developer`. Refer to [Oracle WebLogic Server on Docker](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/dockerfiles/12.2.1.3). If a different `baseImage` (see Configuration table below) is specified, the specified image needs to be built locally or pulled from a repository.

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@ managedServerPort: 8001
4040
# Boolean indicating if production mode is enabled for the domain
4141
productionModeEnabled: true
4242

43-
# WebLogic Docker image that the domain resource will use.
44-
# If not specified, the value is the name of the generated Docker image, which is
45-
# "12213-domain-home-in-image" if the imagePath property is specified as "12213-domain-home-in-image";
46-
# "12213-domain-home-in-image-wdt" if the imagePath property is specified as "12213-domain-home-in-image-wdt".
47-
image: 12213-domain-home-in-image-wdt
43+
# WebLogic Docker image.
44+
# The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. See README.md for more help.
45+
#image:
4846

4947
# Image pull policy
5048
# Legal values are "IfNotPresent", "Always", or "Never"

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,15 @@ function createFiles {
174174
enabledPrefix="" # uncomment the feature
175175
disabledPrefix="# " # comment out the feature
176176

177-
domainName=${domainUID}
177+
if [ -z "${image}" ]; then
178+
fail "Please specify image in your input YAML"
179+
fi
180+
181+
domainName=${domainUID}
178182

179183
# Generate the properties file that will be used when creating the weblogic domain
180184
echo Generating ${domainPropertiesOutput}
181-
185+
182186
cp ${domainPropertiesInput} ${domainPropertiesOutput}
183187
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${domainPropertiesOutput}
184188
sed -i -e "s:%ADMIN_PORT%:${adminPort}:g" ${domainPropertiesOutput}
@@ -258,7 +262,7 @@ function createDomainHome {
258262
dockerDir=${scriptDir}/docker-images/OracleWebLogic/samples/${imagePath}
259263
dockerPropsDir=${dockerDir}/properties
260264
cp ${domainPropertiesOutput} ${dockerPropsDir}/docker-build
261-
265+
262266
# 12213-domain-home-in-image use one properties file for the credentials
263267
usernameFile="${dockerPropsDir}/docker-build/domain_security.properties"
264268
passwordFile="${dockerPropsDir}/docker-build/domain_security.properties"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Before you begin, read this guide, [Domain Resource](../../../../../site/domain-
88

99
The following prerequisites must be handled prior to running the create domain script:
1010
* Make sure the WebLogic operator is running.
11+
* 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.
1112
* Create a Kubernetes namespace for the domain unless the intention is to use the default namespace.
1213
* In the same Kubernetes namespace, create the Kubernetes persistent volume where the domain home will be hosted, and the Kubernetes persistent volume claim for the domain. For samples to create a PV and PVC, see [Create sample PV and PVC](../../create-weblogic-domain-pv-pvc/README.md).
1314
* Create the Kubernetes secrets `username` and `password` of the admin account in the same Kubernetes namespace as the domain.

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ managedServerNameBase: managed-server
4141
# Port number for each managed server
4242
managedServerPort: 8001
4343

44-
# WebLogic Docker image
45-
image: store/oracle/weblogic:12.2.1.3
44+
# WebLogic Docker image.
45+
# The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. See README.md for more help.
46+
#image:
4647

4748
# Image pull policy
4849
# Legal values are "IfNotPresent", "Always", or "Never"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ function createFiles {
162162
enabledPrefix="" # uncomment the feature
163163
disabledPrefix="# " # comment out the feature
164164

165+
if [ -z "${image}" ]; then
166+
fail "Please specify image in your input YAML"
167+
fi
168+
165169
domainName=${domainUID}
166170

167171
# Use the default value if not defined.

site/weblogic-docker-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Oracle provides a [WebLogic Server 12.2.1.3.0 Docker image](https://store.docker
2828
must have a Docker Store account, log on to the Docker Store, navigate
2929
to that image and click on the "Proceed to Checkout" button which will
3030
prompt you to read and accept the license agreement for the image.
31-
Once you have accepted the license agreement, you will be abel to
31+
Once you have accepted the license agreement, you will be able to
3232
pull the image using your Docker store credentials.
3333

3434
First, you will need to login to the Docker Store:

0 commit comments

Comments
 (0)