Skip to content

Commit 0acec10

Browse files
committed
refactor generate files code, doc fix
1 parent 3442600 commit 0acec10

File tree

4 files changed

+127
-153
lines changed

4 files changed

+127
-153
lines changed

kubernetes/samples/scripts/common/utility.sh

Lines changed: 121 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,29 @@ function getKubernetesClusterIP {
213213
}
214214

215215
#
216-
# Function to initialize the input parameters.
217-
# For some parameters, use the default value if not defined.
216+
# Function to generate the properties and yaml files for creating a domain
218217
#
219-
function initializeInput {
218+
function createFiles {
219+
220+
# Make sure the output directory has a copy of the inputs file.
221+
# The user can either pre-create the output directory, put the inputs
222+
# file there, and create the domain from it, or the user can put the
223+
# inputs file some place else and let this script create the output directory
224+
# (if needed) and copy the inputs file there.
225+
copyInputsFileToOutputDirectory ${valuesInputFile} "${domainOutputDir}/create-domain-inputs.yaml"
226+
227+
if [ "${domainHomeInImage}" == "true" ]; then
228+
if [ -z "${domainHomeImageBase}" ]; then
229+
fail "Please specify domainHomeImageBase in your input YAML"
230+
fi
231+
else
232+
if [ -z "${image}" ]; then
233+
fail "Please specify image in your input YAML"
234+
fi
235+
fi
236+
237+
dcrOutput="${domainOutputDir}/domain.yaml"
238+
220239
domainName=${domainUID}
221240

222241
enabledPrefix="" # uncomment the feature
@@ -234,6 +253,7 @@ function initializeInput {
234253
exposeAdminNodePortPrefix="${disabledPrefix}"
235254
fi
236255

256+
# For some parameters, use the default value if not defined.
237257
if [ -z "${domainPVMountPath}" ]; then
238258
domainPVMountPath="/shared"
239259
fi
@@ -249,20 +269,94 @@ function initializeInput {
249269
if [ -z "${weblogicCredentialsSecretName}" ]; then
250270
weblogicCredentialsSecretName="${domainUID}-weblogic-credentials"
251271
fi
252-
}
253272

254-
#
255-
# Function to generate the yaml file for creating the domain resource
256-
# $1 - domain home in image
257-
#
258-
function generateDomainYaml {
259-
if [ "$#" != 1 ]; then
260-
fail "The function must be called with domainHomeInImage parameter."
261-
fi
273+
if [ "${domainHomeInImage}" == "true" ]; then
274+
domainPropertiesOutput="${domainOutputDir}/domain.properties"
275+
domainHome="/u01/oracle/user_projects/domains/${domainName}"
276+
277+
# Generate the properties file that will be used when creating the weblogic domain
278+
echo Generating ${domainPropertiesOutput}
279+
280+
cp ${domainPropertiesInput} ${domainPropertiesOutput}
281+
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${domainPropertiesOutput}
282+
sed -i -e "s:%ADMIN_PORT%:${adminPort}:g" ${domainPropertiesOutput}
283+
sed -i -e "s:%ADMIN_SERVER_NAME%:${adminServerName}:g" ${domainPropertiesOutput}
284+
sed -i -e "s:%MANAGED_SERVER_PORT%:${managedServerPort}:g" ${domainPropertiesOutput}
285+
sed -i -e "s:%MANAGED_SERVER_NAME_BASE%:${managedServerNameBase}:g" ${domainPropertiesOutput}
286+
sed -i -e "s:%CONFIGURED_MANAGED_SERVER_COUNT%:${configuredManagedServerCount}:g" ${domainPropertiesOutput}
287+
sed -i -e "s:%CLUSTER_NAME%:${clusterName}:g" ${domainPropertiesOutput}
288+
sed -i -e "s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled}:g" ${domainPropertiesOutput}
289+
sed -i -e "s:%CLUSTER_TYPE%:${clusterType}:g" ${domainPropertiesOutput}
290+
sed -i -e "s:%JAVA_OPTIONS%:${javaOptions}:g" ${domainPropertiesOutput}
291+
sed -i -e "s:%T3_CHANNEL_PORT%:${t3ChannelPort}:g" ${domainPropertiesOutput}
292+
sed -i -e "s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress}:g" ${domainPropertiesOutput}
262293

263-
domainHomeInImage="${1}"
264-
if [ "true" != "${domainHomeInImage}" ] && [ "false" != "${domainHomeInImage}" ]; then
265-
fail "The value of domainHomeInImage must be true or false: ${domainHomeInImage}"
294+
else
295+
296+
createJobOutput="${domainOutputDir}/create-domain-job.yaml"
297+
deleteJobOutput="${domainOutputDir}/delete-domain-job.yaml"
298+
299+
if [ -z "${domainHome}" ]; then
300+
domainHome="${domainPVMountPath}/domains/${domainUID}"
301+
fi
302+
303+
# Use the default value if not defined.
304+
if [ -z "${createDomainScriptsMountPath}" ]; then
305+
createDomainScriptsMountPath="/u01/weblogic"
306+
fi
307+
308+
if [ -z "${createDomainScriptName}" ]; then
309+
createDomainScriptName="create-domain-job.sh"
310+
fi
311+
312+
# Must escape the ':' value in image for sed to properly parse and replace
313+
image=$(echo ${image} | sed -e "s/\:/\\\:/g")
314+
315+
# Generate the yaml to create the kubernetes job that will create the weblogic domain
316+
echo Generating ${createJobOutput}
317+
318+
cp ${createJobInput} ${createJobOutput}
319+
sed -i -e "s:%NAMESPACE%:$namespace:g" ${createJobOutput}
320+
sed -i -e "s:%WEBLOGIC_CREDENTIALS_SECRET_NAME%:${weblogicCredentialsSecretName}:g" ${createJobOutput}
321+
sed -i -e "s:%WEBLOGIC_IMAGE%:${image}:g" ${createJobOutput}
322+
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_POLICY%:${imagePullPolicy}:g" ${createJobOutput}
323+
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_NAME%:${imagePullSecretName}:g" ${createJobOutput}
324+
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%:${imagePullSecretPrefix}:g" ${createJobOutput}
325+
sed -i -e "s:%DOMAIN_UID%:${domainUID}:g" ${createJobOutput}
326+
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${createJobOutput}
327+
sed -i -e "s:%DOMAIN_HOME%:${domainHome}:g" ${createJobOutput}
328+
sed -i -e "s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled}:g" ${createJobOutput}
329+
sed -i -e "s:%ADMIN_SERVER_NAME%:${adminServerName}:g" ${createJobOutput}
330+
sed -i -e "s:%ADMIN_SERVER_NAME_SVC%:${adminServerNameSVC}:g" ${createJobOutput}
331+
sed -i -e "s:%ADMIN_PORT%:${adminPort}:g" ${createJobOutput}
332+
sed -i -e "s:%CONFIGURED_MANAGED_SERVER_COUNT%:${configuredManagedServerCount}:g" ${createJobOutput}
333+
sed -i -e "s:%MANAGED_SERVER_NAME_BASE%:${managedServerNameBase}:g" ${createJobOutput}
334+
sed -i -e "s:%MANAGED_SERVER_NAME_BASE_SVC%:${managedServerNameBaseSVC}:g" ${createJobOutput}
335+
sed -i -e "s:%MANAGED_SERVER_PORT%:${managedServerPort}:g" ${createJobOutput}
336+
sed -i -e "s:%T3_CHANNEL_PORT%:${t3ChannelPort}:g" ${createJobOutput}
337+
sed -i -e "s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress}:g" ${createJobOutput}
338+
sed -i -e "s:%CLUSTER_NAME%:${clusterName}:g" ${createJobOutput}
339+
sed -i -e "s:%CLUSTER_TYPE%:${clusterType}:g" ${createJobOutput}
340+
sed -i -e "s:%DOMAIN_PVC_NAME%:${persistentVolumeClaimName}:g" ${createJobOutput}
341+
sed -i -e "s:%DOMAIN_ROOT_DIR%:${domainPVMountPath}:g" ${createJobOutput}
342+
sed -i -e "s:%CREATE_DOMAIN_SCRIPT_DIR%:${createDomainScriptsMountPath}:g" ${createJobOutput}
343+
sed -i -e "s:%CREATE_DOMAIN_SCRIPT%:${createDomainScriptName}:g" ${createJobOutput}
344+
345+
# Generate the yaml to create the kubernetes job that will delete the weblogic domain_home folder
346+
echo Generating ${deleteJobOutput}
347+
348+
cp ${deleteJobInput} ${deleteJobOutput}
349+
sed -i -e "s:%NAMESPACE%:$namespace:g" ${deleteJobOutput}
350+
sed -i -e "s:%WEBLOGIC_IMAGE%:${image}:g" ${deleteJobOutput}
351+
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_POLICY%:${imagePullPolicy}:g" ${deleteJobOutput}
352+
sed -i -e "s:%WEBLOGIC_CREDENTIALS_SECRET_NAME%:${weblogicCredentialsSecretName}:g" ${deleteJobOutput}
353+
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_NAME%:${imagePullSecretName}:g" ${deleteJobOutput}
354+
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%:${imagePullSecretPrefix}:g" ${deleteJobOutput}
355+
sed -i -e "s:%DOMAIN_UID%:${domainUID}:g" ${deleteJobOutput}
356+
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${deleteJobOutput}
357+
sed -i -e "s:%DOMAIN_HOME%:${domainHome}:g" ${deleteJobOutput}
358+
sed -i -e "s:%DOMAIN_PVC_NAME%:${persistentVolumeClaimName}:g" ${deleteJobOutput}
359+
sed -i -e "s:%DOMAIN_ROOT_DIR%:${domainPVMountPath}:g" ${deleteJobOutput}
266360
fi
267361

268362
if [ "${domainHomeInImage}" == "true" ]; then
@@ -276,6 +370,7 @@ function generateDomainYaml {
276370
logHomeOnPV=true
277371
fi
278372

373+
# Generate the yaml file for creating the domain resource
279374
echo Generating ${dcrOutput}
280375

281376
cp ${dcrInput} ${dcrOutput}
@@ -340,8 +435,19 @@ function createDomainResource {
340435

341436
#
342437
# Function to create a domain
438+
# $1 - boolean value indicating the location of the domain home
439+
# true means domain home in image
440+
# false means domain home on PV
343441
#
344442
function createDomain {
443+
if [ "$#" != 1 ]; then
444+
fail "The function must be called with domainHomeInImage parameter."
445+
fi
446+
447+
domainHomeInImage="${1}"
448+
if [ "true" != "${domainHomeInImage}" ] && [ "false" != "${domainHomeInImage}" ]; then
449+
fail "The value of domainHomeInImage must be true or false: ${domainHomeInImage}"
450+
fi
345451

346452
# Setup the environment for running this script and perform initial validation checks
347453
initialize

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WebLogic sample domain home in Docker image
22

3-
The sample scripts demonstrate the creation of a WebLogic domain home in a Docker image. The log home is on an existing Kubernetes persistent volume (PV) and persistent volume claim (PVC). The scripts also generate the domain YAML file, which can then be used to start the Kubernetes artifacts of the corresponding domain. Optionally, the scripts start up the domain, and WebLogic Server pods and services.
3+
The sample scripts demonstrate the creation of a WebLogic domain home in a Docker image. If logHomeOnPV is enabled, then the log home resides on an existing Kubernetes persistent volume (PV) and persistent volume claim (PVC). The scripts also generate the domain YAML file, which can then be used to start the Kubernetes artifacts of the corresponding domain. Optionally, the scripts start up the domain, and WebLogic Server pods and services.
44

55
## Prerequisites
66

@@ -11,7 +11,7 @@ The following prerequisites must be handled prior to running the create domain s
1111
* Make sure the WebLogic operator is running.
1212
* 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. If a different `domainHomeImageBase` (see Configuration table below) is specified, the specified image needs to be built locally or pulled from a repository.
1313
* Create a Kubernetes namespace for the domain unless the intention is to use the default namespace.
14-
* In the same Kubernetes namespace, create the Kubernetes persistent volume where the log 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).
14+
* If logHomeOnPV is enabled, create the Kubernetes persistent volume where the log home will be hosted, and the Kubernetes persistent volume claim for the domain in the same Kubernates namespace. For samples to create a PV and PVC, see [Create sample PV and PVC](../../create-weblogic-domain-pv-pvc/README.md).
1515
* Create the Kubernetes secrets `username` and `password` of the admin account in the same Kubernetes namespace as the domain.
1616

1717
## Use the script to create a domain

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

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# * The kubernetes secrets 'username' and 'password' of the admin account have been created in the namespace
1515
# * The host directory that will be used as the persistent volume must already exist
1616
# and have the appropriate file permissions set.
17-
# * The kubernetes persisitent volume must already be created
18-
# * The kubernetes persisitent volume claim must already be created
17+
# * If logHomeOnPV is enabled, the kubernetes persisitent volume must already be created
18+
# * If logHomeOnPV is enabled, the kubernetes persisitent volume claim must already be created
1919
#
2020

2121
# Initialize
@@ -168,49 +168,6 @@ function getDockerSample {
168168
git clone https://github.com/oracle/docker-images.git ${scriptDir}/docker-images
169169
}
170170

171-
#
172-
# Function to generate the properties and yaml files for creating a domain
173-
#
174-
function createFiles {
175-
176-
# Make sure the output directory has a copy of the inputs file.
177-
# The user can either pre-create the output directory, put the inputs
178-
# file there, and create the domain from it, or the user can put the
179-
# inputs file some place else and let this script create the output directory
180-
# (if needed) and copy the inputs file there.
181-
copyInputsFileToOutputDirectory ${valuesInputFile} "${domainOutputDir}/create-domain-inputs.yaml"
182-
183-
domainPropertiesOutput="${domainOutputDir}/domain.properties"
184-
dcrOutput="${domainOutputDir}/domain.yaml"
185-
186-
initializeInput
187-
188-
if [ -z "${domainHomeImageBase}" ]; then
189-
fail "Please specify domainHomeImageBase in your input YAML"
190-
fi
191-
192-
domainHome="/u01/oracle/user_projects/domains/${domainName}"
193-
194-
# Generate the properties file that will be used when creating the weblogic domain
195-
echo Generating ${domainPropertiesOutput}
196-
197-
cp ${domainPropertiesInput} ${domainPropertiesOutput}
198-
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${domainPropertiesOutput}
199-
sed -i -e "s:%ADMIN_PORT%:${adminPort}:g" ${domainPropertiesOutput}
200-
sed -i -e "s:%ADMIN_SERVER_NAME%:${adminServerName}:g" ${domainPropertiesOutput}
201-
sed -i -e "s:%MANAGED_SERVER_PORT%:${managedServerPort}:g" ${domainPropertiesOutput}
202-
sed -i -e "s:%MANAGED_SERVER_NAME_BASE%:${managedServerNameBase}:g" ${domainPropertiesOutput}
203-
sed -i -e "s:%CONFIGURED_MANAGED_SERVER_COUNT%:${configuredManagedServerCount}:g" ${domainPropertiesOutput}
204-
sed -i -e "s:%CLUSTER_NAME%:${clusterName}:g" ${domainPropertiesOutput}
205-
sed -i -e "s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled}:g" ${domainPropertiesOutput}
206-
sed -i -e "s:%CLUSTER_TYPE%:${clusterType}:g" ${domainPropertiesOutput}
207-
sed -i -e "s:%JAVA_OPTIONS%:${javaOptions}:g" ${domainPropertiesOutput}
208-
sed -i -e "s:%T3_CHANNEL_PORT%:${t3ChannelPort}:g" ${domainPropertiesOutput}
209-
sed -i -e "s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress}:g" ${domainPropertiesOutput}
210-
211-
generateDomainYaml true
212-
}
213-
214171
#
215172
# Function to build docker image and create WebLogic domain home
216173
#
@@ -278,5 +235,5 @@ function printSummary {
278235
}
279236

280237
# Perform the sequence of steps to create a domain
281-
createDomain
238+
createDomain true
282239

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

Lines changed: 1 addition & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -129,95 +129,6 @@ function initialize {
129129
initOutputDir
130130
}
131131

132-
133-
#
134-
# Function to generate the yaml files for creating a domain
135-
#
136-
function createFiles {
137-
138-
# Make sure the output directory has a copy of the inputs file.
139-
# The user can either pre-create the output directory, put the inputs
140-
# file there, and create the domain from it, or the user can put the
141-
# inputs file some place else and let this script create the output directory
142-
# (if needed) and copy the inputs file there.
143-
copyInputsFileToOutputDirectory ${valuesInputFile} "${domainOutputDir}/create-domain-inputs.yaml"
144-
145-
createJobOutput="${domainOutputDir}/create-domain-job.yaml"
146-
deleteJobOutput="${domainOutputDir}/delete-domain-job.yaml"
147-
dcrOutput="${domainOutputDir}/domain.yaml"
148-
149-
initializeInput
150-
151-
if [ -z "${image}" ]; then
152-
fail "Please specify image in your input YAML"
153-
fi
154-
155-
if [ -z "${domainHome}" ]; then
156-
domainHome="${domainPVMountPath}/domains/${domainUID}"
157-
fi
158-
159-
# Use the default value if not defined.
160-
if [ -z "${createDomainScriptsMountPath}" ]; then
161-
createDomainScriptsMountPath="/u01/weblogic"
162-
fi
163-
164-
# Use the default value if not defined.
165-
if [ -z "${createDomainScriptName}" ]; then
166-
createDomainScriptName="create-domain-job.sh"
167-
fi
168-
169-
# Must escape the ':' value in image for sed to properly parse and replace
170-
image=$(echo ${image} | sed -e "s/\:/\\\:/g")
171-
172-
# Generate the yaml to create the kubernetes job that will create the weblogic domain
173-
echo Generating ${createJobOutput}
174-
175-
cp ${createJobInput} ${createJobOutput}
176-
sed -i -e "s:%NAMESPACE%:$namespace:g" ${createJobOutput}
177-
sed -i -e "s:%WEBLOGIC_CREDENTIALS_SECRET_NAME%:${weblogicCredentialsSecretName}:g" ${createJobOutput}
178-
sed -i -e "s:%WEBLOGIC_IMAGE%:${image}:g" ${createJobOutput}
179-
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_POLICY%:${imagePullPolicy}:g" ${createJobOutput}
180-
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_NAME%:${imagePullSecretName}:g" ${createJobOutput}
181-
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%:${imagePullSecretPrefix}:g" ${createJobOutput}
182-
sed -i -e "s:%DOMAIN_UID%:${domainUID}:g" ${createJobOutput}
183-
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${createJobOutput}
184-
sed -i -e "s:%DOMAIN_HOME%:${domainHome}:g" ${createJobOutput}
185-
sed -i -e "s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled}:g" ${createJobOutput}
186-
sed -i -e "s:%ADMIN_SERVER_NAME%:${adminServerName}:g" ${createJobOutput}
187-
sed -i -e "s:%ADMIN_SERVER_NAME_SVC%:${adminServerNameSVC}:g" ${createJobOutput}
188-
sed -i -e "s:%ADMIN_PORT%:${adminPort}:g" ${createJobOutput}
189-
sed -i -e "s:%CONFIGURED_MANAGED_SERVER_COUNT%:${configuredManagedServerCount}:g" ${createJobOutput}
190-
sed -i -e "s:%MANAGED_SERVER_NAME_BASE%:${managedServerNameBase}:g" ${createJobOutput}
191-
sed -i -e "s:%MANAGED_SERVER_NAME_BASE_SVC%:${managedServerNameBaseSVC}:g" ${createJobOutput}
192-
sed -i -e "s:%MANAGED_SERVER_PORT%:${managedServerPort}:g" ${createJobOutput}
193-
sed -i -e "s:%T3_CHANNEL_PORT%:${t3ChannelPort}:g" ${createJobOutput}
194-
sed -i -e "s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress}:g" ${createJobOutput}
195-
sed -i -e "s:%CLUSTER_NAME%:${clusterName}:g" ${createJobOutput}
196-
sed -i -e "s:%CLUSTER_TYPE%:${clusterType}:g" ${createJobOutput}
197-
sed -i -e "s:%DOMAIN_PVC_NAME%:${persistentVolumeClaimName}:g" ${createJobOutput}
198-
sed -i -e "s:%DOMAIN_ROOT_DIR%:${domainPVMountPath}:g" ${createJobOutput}
199-
sed -i -e "s:%CREATE_DOMAIN_SCRIPT_DIR%:${createDomainScriptsMountPath}:g" ${createJobOutput}
200-
sed -i -e "s:%CREATE_DOMAIN_SCRIPT%:${createDomainScriptName}:g" ${createJobOutput}
201-
202-
# Generate the yaml to create the kubernetes job that will delete the weblogic domain_home folder
203-
echo Generating ${deleteJobOutput}
204-
205-
cp ${deleteJobInput} ${deleteJobOutput}
206-
sed -i -e "s:%NAMESPACE%:$namespace:g" ${deleteJobOutput}
207-
sed -i -e "s:%WEBLOGIC_IMAGE%:${image}:g" ${deleteJobOutput}
208-
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_POLICY%:${imagePullPolicy}:g" ${deleteJobOutput}
209-
sed -i -e "s:%WEBLOGIC_CREDENTIALS_SECRET_NAME%:${weblogicCredentialsSecretName}:g" ${deleteJobOutput}
210-
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_NAME%:${imagePullSecretName}:g" ${deleteJobOutput}
211-
sed -i -e "s:%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%:${imagePullSecretPrefix}:g" ${deleteJobOutput}
212-
sed -i -e "s:%DOMAIN_UID%:${domainUID}:g" ${deleteJobOutput}
213-
sed -i -e "s:%DOMAIN_NAME%:${domainName}:g" ${deleteJobOutput}
214-
sed -i -e "s:%DOMAIN_HOME%:${domainHome}:g" ${deleteJobOutput}
215-
sed -i -e "s:%DOMAIN_PVC_NAME%:${persistentVolumeClaimName}:g" ${deleteJobOutput}
216-
sed -i -e "s:%DOMAIN_ROOT_DIR%:${domainPVMountPath}:g" ${deleteJobOutput}
217-
218-
generateDomainYaml false
219-
}
220-
221132
# create domain configmap using what is in the createDomainFilesDir
222133
function createDomainConfigmap {
223134
# Use the default files if createDomainFilesDir is not specified
@@ -346,5 +257,5 @@ function printSummary {
346257
}
347258

348259
# Perform the sequence of steps to create a domain
349-
createDomain
260+
createDomain false
350261

0 commit comments

Comments
 (0)