You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo" -n namespace, optional. The value is default if not specified"
46
+
echo" -d domainUID, optional. The default value is `domain1`. When specified, the secret will be label with the domainUID unless the given value is an empty string."
47
+
echo" -s secretName, optional. When not specified, the secret name will be determined based on the domainUID option"
35
48
echo" -h Help"
36
49
exit$1
37
50
}
@@ -41,7 +54,7 @@ function usage {
41
54
#
42
55
domainUID=domain1
43
56
namespace=default
44
-
whilegetopts"hu:p:n:d:" opt;do
57
+
whilegetopts"hu:p:n:d:s:" opt;do
45
58
case$optin
46
59
u) username="${OPTARG}"
47
60
;;
@@ -51,13 +64,22 @@ while getopts "hu:p:n:d:" opt; do
Copy file name to clipboardExpand all lines: kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Make a copy of the `create-domain-inputs.yaml` file, and run the create script,
22
22
23
23
The script will perform the following steps:
24
24
25
-
* Create a directory for the generated Kubernetes YAML files for this domain. The pathname is `/path/to/weblogic-operator-output-directory/weblogic-domains/<domainUID>`.
25
+
* Create a directory for the generated Kubernetes YAML files for this domain if it does not already exist. The pathname is `/path/to/weblogic-operator-output-directory/weblogic-domains/<domainUID>`. Note that the script fails if the directory is not empty when the `create-domain.sh` script is executed.
26
26
* Create a Kubernetes job that will start up a utility WebLogic Server container and run offline WLST scripts, or WebLogic Deploy Tool (WDT) scripts, to create the domain on the shared storage.
27
27
* Run the job and wait for the job to finish.
28
28
* Create a Kubernetes domain custom resource YAML file, `domain-custom-resource.yaml`, in the directory that is created above. This YAML file can be used to create the Kubernetes resource using the `kubectl create -f` or `kubectl apply -f` command.
0 commit comments