Skip to content

Commit d42ece8

Browse files
committed
Merge branch '2.0-rc2' of https://github.com/oracle/weblogic-kubernetes-operator into rc2-doc-updates
2 parents ec2673f + f5d7a62 commit d42ece8

File tree

13 files changed

+291
-212
lines changed

13 files changed

+291
-212
lines changed

kubernetes/charts/weblogic-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ domainNamespaces:
2020
- "default"
2121

2222
# image specifies the docker image containing the operator code.
23-
image: "weblogic-kubernetes-operator:2.0"
23+
image: "oracle/weblogic-kubernetes-operator:2.0"
2424

2525
# imagePullPolicy specifies the image pull policy for the operator docker image.
2626
imagePullPolicy: "IfNotPresent"

kubernetes/samples/scripts/common/domain-template.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ spec:
3030
name: %WEBLOGIC_CREDENTIALS_SECRET_NAME%
3131
# Whether to include the server out file into the pod's stdout, default is true
3232
includeServerOutInPodLog: %INCLUDE_SERVER_OUT_IN_POD_LOG%
33-
# Whether to enable log home
33+
# Whether to enable log home
3434
%LOG_HOME_ON_PV_PREFIX%logHomeEnabled: %LOG_HOME_ENABLED%
35-
# The in-pod name of the directory to store the domain, node manager, server logs, and server .out
36-
# files in.
37-
# If not specified or empty, domain log file, server logs, server out, and node manager log files
38-
# will be stored in the default logHome location of /shared/logs/<domainUID>/.
35+
# The in-pod location for domain log, server logs, server out, and node manager log files
3936
%LOG_HOME_ON_PV_PREFIX%logHome: %LOG_HOME%
4037
# serverStartPolicy legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
4138
# This determines which WebLogic Servers the Operator will start up when it discovers this Domain

kubernetes/samples/scripts/common/validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Copyright 2018, Oracle Corporation and/or its affiliates. All rights reserved.
2+
# Copyright 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
33
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
44
#
55
# Description

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

Lines changed: 72 additions & 53 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018, Oracle Corporation and/or its affiliates. All rights reserved.
1+
# Copyright 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33

44
# The version of this inputs file. Do not modify.
@@ -74,8 +74,7 @@ includeServerOutInPodLog: true
7474
# The default is false.
7575
logHomeOnPV: false
7676

77-
# The in-pod name of the directory in which to store the domain, node manager, server logs,
78-
# and server .out files.
77+
# The in-pod location for domain log, server logs, server out, and node manager log files
7978
# If not specified, the value is derived from the domainUID as /shared/logs/<domainUID>
8079
# This parameter is required if 'logHomeOnPV' is true.
8180
# Otherwise, it is ignored.

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

Lines changed: 100 additions & 77 deletions
Large diffs are not rendered by default.

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

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018, Oracle Corporation and/or its affiliates. All rights reserved.
1+
# Copyright 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33

44
# The version of this inputs file. Do not modify.
@@ -61,8 +61,7 @@ weblogicCredentialsSecretName: domain1-weblogic-credentials
6161
# The default is true.
6262
includeServerOutInPodLog: true
6363

64-
# The in-pod name of the directory to store the domain, node manager, server logs, and server .out
65-
# files in.
64+
# The in-pod location for domain log, server logs, server out, and node manager log files
6665
# If not specified, the value is derived from the domainUID as /shared/logs/<domainUID>
6766
logHome: /shared/logs/domain1
6867

@@ -97,14 +96,37 @@ persistentVolumeClaimName: domain1-weblogic-sample-pvc
9796
# Mount path of the domain persistent volume.
9897
domainPVMountPath: /shared
9998

100-
# Mount path of the directory where the create domain scripts are located inside the pod
99+
# Mount path where the create domain scripts are located inside a pod
100+
#
101+
# The `create-domain.sh` script creates a Kubernetes job to run the script (specified in the
102+
# `createDomainScriptName` property) in a Kubernetes pod to create a WebLogic home. Files
103+
# in the `createDomainFilesDir` directory are mounted to this location in the pod, so that
104+
# a Kubernetes pod can use the scripts and supporting files to create a domain home.
101105
createDomainScriptsMountPath: /u01/weblogic
102106

103-
# Script that creates the domain.
107+
# Script that the create domain script uses to create a WebLogic domain
108+
#
109+
# The `create-domain.sh` script creates a Kubernetes job to run this script to create a
110+
# domain home. The script is located in the in-pod directory that is specified in the
111+
# `createDomainScriptsMountPath` property.
112+
#
113+
# If you need to provide your own scripts to create the domain home, instead of using the
114+
# built-it scripts, you must use this property to set the name of the script that you want
115+
# the create domain job to run.
104116
createDomainScriptName: create-domain-job.sh
105117

106-
# Directory to get all the create domain scripts and supporting files, including
107-
# the script that is specified by the createDomainScriptName property.
108-
# The default is the "wlst" subdirectory under the directory where the
109-
# create-domain.sh script is located.
118+
# Directory on the host machine to locate all the files to create a WebLogic domain
119+
# It contains the script that is specified in the `createDomainScriptName` property.
120+
#
121+
# By default, this directory is set to the relative path `wlst`, and the create script will
122+
# use the built-in WLST offline scripts in the `wlst` directory to create the WebLogic domain.
123+
# It can also be set to the relative path `wdt`, and then the built-in WDT scripts will be
124+
# used instead.
125+
#
126+
# An absolute path is also supported to point to an arbitrary directory in the file system.
127+
#
128+
# The built-in scripts can be replaced by the user-provided scripts or model files as long
129+
# as those files are in the specified directory. Files in this directory are put into a
130+
# Kubernetes config map, which in turn is mounted to the `createDomainScriptsMountPath`,
131+
# so that the Kubernetes pod can use the scripts and supporting files to create a domain home.
110132
createDomainFilesDir: wlst

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018, Oracle Corporation and/or its affiliates. All rights reserved.
1+
# Copyright 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33
apiVersion: batch/v1
44
kind: Job

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2018, Oracle Corporation and/or its affiliates. All rights reserved.
2+
# Copyright 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
33
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
44
#
55

kubernetes/src/test/java/oracle/kubernetes/operator/helm/HelmOperatorValuesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ private String getExpectedOperatorHelmChartDefaultValues() {
476476
.append("externalDebugHttpPort: 30999\n")
477477
.append("externalRestEnabled: false\n")
478478
.append("externalRestHttpsPort: 31001\n")
479-
.append("image: weblogic-kubernetes-operator:2.0\n")
479+
.append("image: oracle/weblogic-kubernetes-operator:2.0\n")
480480
.append("imagePullPolicy: IfNotPresent\n")
481481
.append("internalDebugHttpPort: 30999\n")
482482
.append("javaLoggingLevel: INFO\n")

0 commit comments

Comments
 (0)