Skip to content

Commit c3344ae

Browse files
committed
Revert the domainUID rules to a kubernetes cluster unique name, v.s. a globally unique name, and change the sample domainUID to domain1 (to match these rules). Also fix a typo in the renaming documentation
1 parent 8876198 commit c3344ae

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

kubernetes/create-weblogic-domain-inputs.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ domainName: base_domain
1212

1313
# Unique id identifying a domain.
1414
# This id must be lowercase and unique across all domains in a Kubernetes cluster.
15-
# Best practice is to use a globally unique name.
16-
# The following line must be uncomment and customized:
17-
#domainUID: domain1.development-stage.yourcompany.com
15+
#domainUID: domain1
1816

1917
# Determines which WebLogic Servers the Operator will start up
2018
# Legal values are "NONE", "ALL", "ADMIN", "SPECIFIED", or "AUTO"

site/name-changes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The create scripts support a -i option for specifying the location of the inputs
6262

6363
If -i is not specified, kubernetes/create-weblogic-operator.sh uses kubernetes/create-weblogic-operator-inputs.yaml.
6464

65-
Previously, kubernetes/create-domain-job.sh used kubernetes/create-domain-job-inputs.yaml as the input file if -i was not specified. This behavior has been changed. The customer must select a world wide unique id for the domain and set the domainUid property in the inputs file to that value. This means that the customer must always modify the inputs file.
65+
Previously, kubernetes/create-domain-job.sh used kubernetes/create-domain-job-inputs.yaml as the input file if -i was not specified. This behavior has been changed. The customer must select a Kubernetes cluster wide unique id for the domain and set the domainUid property in the inputs file to that value. This means that the customer must always modify the inputs file.
6666

6767
Also, we do not want the customer to have to change files in the weblogic operator's install directory. Because of this, the -i option MUST be specified when calling kubernetes/create-weblogic-operator.sh. The basic flow is:
6868

@@ -141,7 +141,7 @@ The following input properties, which used to have default values, now must be u
141141

142142
| Previous Property Name | New Property Name | Previous Default Value | Notes |
143143
| --- | --- | --- | --- |
144-
| domainUid | domainUID | domain1 | Since the domain UID is supposed to be globally unique, the customer must choose one. |
144+
| domainUid | domainUID | domain1 | Since the domain UID is supposed to be unique across the Kubernetes cluster, the customer must choose one. |
145145
| persistencePath | weblogicDomainStoragePath | /scratch/k8s_dir/persistentVolume001 | The customer must select a directory for the domain's storage. |
146146
| nfsServer | weblogicDomainStorageNFSServer | nfsServer | If weblogicDomainStorageType is NFS, then the customer must specify the name or IP of the NFS server. |
147147

@@ -152,5 +152,5 @@ The following input properties, which used to have default values, now must be u
152152
| loadBalancer | loadBalancer | none | NONE |
153153
| loadBalancer | loadBalancer | traefik | TRAEFIK |
154154
| persistenceType | weblogicDomainStorageType | hostPath | HOST_PATH |
155-
| persistenceType | weblogicDomainStorateType | nfs | NFS |
155+
| persistenceType | weblogicDomainStorageType | nfs | NFS |
156156

0 commit comments

Comments
 (0)