Skip to content

Commit dab0d72

Browse files
committed
Rename domain-custom-resource to domain in domain-home-on-pv sample
Signed-off-by: doxiao <[email protected]>
1 parent 6266293 commit dab0d72

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public void create() throws Exception {
370370
cmd.append(userProjectsDir)
371371
.append("/weblogic-domains/")
372372
.append(domainUid)
373-
.append("/domain-custom-resource.yaml");
373+
.append("/domain.yaml");
374374
logger.info("Running " + cmd);
375375
ExecResult result = ExecCommand.exec(cmd.toString());
376376
if (result.exitValue() != 0) {
@@ -399,7 +399,7 @@ public void destroy() throws Exception {
399399
cmd.append(userProjectsDir)
400400
.append("/weblogic-domains/")
401401
.append(domainUid)
402-
.append("/domain-custom-resource.yaml");
402+
.append("/domain.yaml");
403403
ExecResult result = ExecCommand.exec(cmd.toString());
404404
if (result.exitValue() != 0) {
405405
throw new RuntimeException(

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function initAndValidateOutputDir {
8484
create-domain-inputs.yaml \
8585
create-domain-job.yaml \
8686
delete-domain-job.yaml \
87-
domain-custom-resource.yaml
87+
domain.yaml
8888
}
8989

9090
#
@@ -216,7 +216,7 @@ function initialize {
216216
validationError "The template file ${deleteJobInput} for deleting a WebLogic domain_home folder was not found"
217217
fi
218218

219-
dcrInput="${scriptDir}/domain-custom-resource-template.yaml"
219+
dcrInput="${scriptDir}/domain-template.yaml"
220220
if [ ! -f ${dcrInput} ]; then
221221
validationError "The template file ${dcrInput} for creating the domain custom resource was not found"
222222
fi
@@ -283,7 +283,7 @@ function createYamlFiles {
283283

284284
createJobOutput="${domainOutputDir}/create-domain-job.yaml"
285285
deleteJobOutput="${domainOutputDir}/delete-domain-job.yaml"
286-
dcrOutput="${domainOutputDir}/domain-custom-resource.yaml"
286+
dcrOutput="${domainOutputDir}/domain.yaml"
287287

288288
enabledPrefix="" # uncomment the feature
289289
disabledPrefix="# " # comment out the feature

0 commit comments

Comments
 (0)