Skip to content

Commit 9dad59d

Browse files
jshum2479rakillen
authored andcommitted
change where opss set secret (#402)
1 parent 613492e commit 9dad59d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/src/main/python/wlsdeploy/tool/create/domain_creator.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ def __deploy(self):
351351
self.__set_domain_attributes()
352352
self._configure_security_configuration()
353353
self.__deploy_resources_and_apps()
354-
self.__configure_opss_secrets()
355354
self.wlst_helper.update_domain()
356355
self.wlst_helper.close_domain()
357356
return
@@ -490,6 +489,8 @@ def __create_domain_with_select_template(self, domain_home):
490489
if len(server_assigns) > 0:
491490
self.target_helper.target_server_groups(server_assigns)
492491

492+
self.__configure_opss_secrets()
493+
493494
self.wlst_helper.write_domain(domain_home)
494495
self.wlst_helper.close_template()
495496

@@ -1134,6 +1135,10 @@ def __create_boot_dot_properties(self):
11341135

11351136
def __configure_opss_secrets(self):
11361137
_method_name = '__configure_opss_secrets'
1138+
1139+
if not self._domain_typedef.is_jrf_domain_type():
1140+
return
1141+
11371142
self.logger.entering(class_name=self.__class_name, method_name=_method_name)
11381143
extract_path = None
11391144
domain_info = self._domain_info

0 commit comments

Comments
 (0)