File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ createWLDomain() {
396396 # create domain again
397397
398398 DISABLE_SM_FOR_12214_NONSM_UPG=0
399- if [ -f ${PRIMORDIAL_DOMAIN_ZIPPED} ] ; then
399+ if [ -f ${PRIMORDIAL_DOMAIN_ZIPPED} ] && [ -z " ${MII_USE_ONLINE_UPDATE} " ] || [ " ${MII_USE_ONLINE_UPDATE} " != " true " ] ] ; then
400400 checkSecureModeForUpgrade
401401 fi
402402 if [ ${WDT_ARTIFACTS_CHANGED} -ne 0 ] || [ ${jdk_changed} -eq 1 ] \
Original file line number Diff line number Diff line change @@ -410,6 +410,7 @@ def upgradeServerIfNeeded(model):
410410 result = fh .read ()
411411 fh .close ()
412412 found = False
413+ # if secure mode is not enabled in existing domain
413414 if result == 'False' :
414415 # check if model has anything set
415416 # if domainInfo already set to secure or in dev mode then do not set it, prod mode will not be secure
You can’t perform that action at this time.
0 commit comments