Skip to content

Conversation

@ddsharpe
Copy link
Member

  • added new target type, wko
  • added execute permissions to generated shell script from vz target
  • corrected weblogic credential secret name for models targeted to WebLogic Operator
  • changed generated Verrazzano binding defaults for DNS name to "*"
  • changed generated Verrazzano binding namepace from default to {domainUid}-ns
  • corrected log folder name from jcslcm-logs to wdt-logs
* added execute permissions to generated shell script from vz target * corrected weblogic credential secret name for models targeted to WebLogic Operator * changed generated Verrazzano binding defaults for DNS name to "*" * changed generated Verrazzano binding namepace from default to {domainUid}-ns * corrected log folder name from jcslcm-logs to wdt-logs
admin_token = admin_lower_token[5:]
return get_secret_model_token(WEBLOGIC_CREDENTIALS_SECRET_NAME, admin_token)
secret_name = target_config.get_wls_credentials_name() or WEBLOGIC_CREDENTIALS_SECRET_NAME
return '@@SECRET:%s:%s@@' % (secret_name, admin_token)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If target_config.get_wls_credentials_name() returns None, the secret token will be
@@SECRET:weblogic-credentials:password@@ instead of
@@SECRET:@@ENV:DOMAIN_UID@@-weblogic-credentials:password@@
which won't match the secrets script.

config[CONFIG.WLS_CREDENTIALS_NAME] = '__weblogic-credentials__'
self.target_with_cred_name = TargetConfiguration(config)

config = dict()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate with lines 24-27?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two different configs. changed the temporary variable names to avoid any sharing between classes during the test.

@ddsharpe ddsharpe merged commit 06a4c0b into master Aug 24, 2020
@ddsharpe ddsharpe deleted the v8o-fixes branch August 24, 2020 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants