Skip to content

Commit 1cbd24a

Browse files
committed
Make most of the create-weblogic-domain-inputs.yaml name changes
1 parent 1f39d02 commit 1cbd24a

21 files changed

+351
-393
lines changed

kubernetes/create-weblogic-domain-inputs.yaml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ adminPort: 7001
77
# Name of the Admin Server
88
adminServerName: admin-server
99

10-
# Script used to create the domain.
11-
createDomainScript: /u01/weblogic/create-domain-script.sh
12-
1310
# Name of the WebLogic domain to create
1411
domainName: base_domain
1512

1613
# Unique id identifying a domain.
1714
# This id must be lowercase and unique across all domains in a Kubernetes cluster
18-
domainUid: domain1
15+
domainUID: domain1
1916

2017
# Determines which WebLogic Servers the Operator will start up
2118
# Legal values are "NONE", "ALL", "ADMIN", "SPECIFIED", or "AUTO"
@@ -25,29 +22,32 @@ startupControl: AUTO
2522
clusterName: cluster-1
2623

2724
# Number of managed servers to generate for the domain
28-
managedServerCount: 2
25+
configuredManagedServerCount: 2
2926

3027
# Number of managed servers to initially start for the domain
31-
managedServerStartCount: 2
28+
initialManagedServerReplicas: 2
3229

3330
# Base string used to generate managed server names
3431
managedServerNameBase: managed-server
3532

3633
# Port number for each managed server
3734
managedServerPort: 8001
3835

39-
# Persistent volume type, the value must be hostPath or nfs.
40-
# If using nfs, nfsServer must be specified.
41-
persistenceType: hostPath
36+
# Persistent volume type for the domain's storage.
37+
# The value must be 'HOST_PATH' or 'NFS'.
38+
# If using 'NFS', weblogicDomainStorageNFSServer must be specified.
39+
weblogicDomainStorageType: HOST_PATH
4240

43-
# NFS server name or ip. Only used if persistenceType is nfs.
44-
nfsServer: nfsServer
41+
# The server name or ip address of the NFS server to use
42+
# for the domain's storage.
43+
# Only used if persistenceType is nfs.
44+
weblogicDomainStorageNFSServer: nfsServer
4545

46-
# Physical path of the persistent volume storage
47-
persistencePath: /scratch/k8s_dir/persistentVolume001
46+
# Physical path of the domain's persistent storage.
47+
weblogicDomainStoragePath: /scratch/k8s_dir/persistentVolume001
4848

49-
# Total storage allocated by the persistent volume
50-
persistenceSize: 10Gi
49+
# Total storage allocated to the domain's persistent storage.
50+
weblogicDomainStorageSize: 10Gi
5151

5252
# Name of the storage class to set for the persistent volume and persistent volume claim
5353
# The default value that will be used is the value of the domainUid input parameter
@@ -69,11 +69,11 @@ productionModeEnabled: true
6969

7070
# Name of the Kubernetes secret for the Admin Server's username and password
7171
# The name must be lowercase
72-
secretName: domain1-weblogic-credentials
72+
weblogicCredentialsSecretName: domain1-weblogic-credentials
7373

7474
# Name of the Kubernetes secret to access the Docker Store to pull the WebLogic Server Docker image
7575
# The presence of the secret will be validated when this parameter is enabled.
76-
#imagePullSecretName:
76+
#weblogicImagePullSecretName:
7777

7878
# Port for the T3Channel of the NetworkAccessPoint
7979
t3ChannelPort: 30012
@@ -96,14 +96,14 @@ exposeAdminNodePort: false
9696
# Name of the domain namespace
9797
namespace: default
9898

99-
# Load balancer to deploy. Supported values are: traefik, none
100-
loadBalancer: traefik
99+
# Load balancer to deploy. Supported values are:TRAEFIK, NONE
100+
loadBalancer: TRAEFIK
101101

102102
# Load balancer web port
103103
loadBalancerWebPort: 30305
104104

105-
# Load balancer admin port
106-
loadBalancerAdminPort: 30315
105+
# Load balancer dashboard port
106+
loadBalancerDashboardPort: 30315
107107

108108
#Java Option for Weblogic Server
109109
javaOptions: -Dweblogic.StdoutDebugEnabled=false

kubernetes/internal/create-weblogic-domain-job-template.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ data:
4747
source /u01/weblogic/utility.sh
4848
4949
# Verify the script to create the domain exists
50-
script='%CREATE_DOMAIN_SCRIPT%'
50+
script='/u01/weblogic/create-domain-script.sh'
5151
if [ -f $script ]; then
5252
echo The domain will be created using the script $script
5353
else
@@ -279,7 +279,7 @@ data:
279279
280280
# Create the managed servers
281281
index=0
282-
while [ $index -lt %NUMBER_OF_MS% ]
282+
while [ $index -lt %CONFIGURED_MANAGED_SERVER_COUNT% ]
283283
do
284284
((index++))
285285
createNodeMgrHome %DOMAIN_UID% %MANAGED_SERVER_NAME_BASE%${index} %DOMAIN_UID%-%ADMIN_SERVER_NAME%
@@ -298,7 +298,7 @@ data:
298298
server_port = %MANAGED_SERVER_PORT%
299299
domain_path = os.environ.get("DOMAIN_HOME")
300300
cluster_name = "%CLUSTER_NAME%"
301-
number_of_ms = %NUMBER_OF_MS%
301+
number_of_ms = %CONFIGURED_MANAGED_SERVER_COUNT%
302302
303303
print('domain_path : [%s]' % domain_path);
304304
print('domain_name : [%DOMAIN_NAME%]');
@@ -494,6 +494,6 @@ spec:
494494
claimName: %PERSISTENT_VOLUME_CLAIM%
495495
- name: secrets
496496
secret:
497-
secretName: %SECRET_NAME%
498-
%IMAGE_PULL_SECRET_PREFIX%imagePullSecrets:
499-
%IMAGE_PULL_SECRET_PREFIX%- name: %DOCKER_REGISTRY_SECRET%
497+
secretName: %WEBLOGIC_CREDENTIALS_SECRET_NAME%
498+
%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%imagePullSecrets:
499+
%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%- name: %WEBLOGIC_IMAGE_PULL_SECRET_NAME%

0 commit comments

Comments
 (0)