Skip to content

Commit af58941

Browse files
committed
Fix a problem in dumping the generated operator and domain input files, update the list of name changes to include renamed kubernetes artifacts
1 parent 4f4f708 commit af58941

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

site/name-changes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,12 @@ The following input properties, which used to have default values, now must be u
155155
| persistenceType | weblogicDomainStorageType | hostPath | HOST_PATH |
156156
| persistenceType | weblogicDomainStorageType | nfs | NFS |
157157

158+
## Kubernetes Artifact Names
159+
The input properties for controlling the domain's persistent volume, persistent volume claim and storage class names have been removed. These names are now derived from the domain uid.
160+
161+
| Artifact Type | Previous Name | New Name |
162+
| --- | --- | --- |
163+
| persistent volume | ${domainUid}-${persistenceVolume} or ${persistenceVolume} | ${domainUID}-weblogic-domain-pv |
164+
| persistent volume claim | ${domainUid}-${persistenceVolumeClaim} or ${persistenceVolumeClaim} | ${domainUID}-weblogic-domain-pvc |
165+
| storage class name | ${domainUid} or ${persistenceStorageClass} | ${domainUID-weblogic-domain-storage-class |
166+

src/integration-tests/bash/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ function state_dump {
347347
mkdir -p ${DUMP_DIR}
348348

349349
# dump the generated operator and domain yaml files if there are any
350-
if [ -d ${USER_PROJECTS} ]; then
351-
trace Dumping the generated yaml files
352-
cp -r ${USER_PROJECTS} ${DUMP_DIR}
350+
if [ -n "${USER_PROJECTS_DIR}" ] && [ -d "${USER_PROJECTS_DIR}" ]; then
351+
trace Dumping the generated yaml files in $USER_PROJECTS_DIR to ${DUMP_DIR}
352+
cp -r ${USER_PROJECTS_DIR} ${DUMP_DIR}
353353
fi
354354

355355
# Test output is captured to ${TESTOUT} when run.sh is run stand-alone

0 commit comments

Comments
 (0)