Enable SSL for clouds in system tests
SSL is going to be disabled by default for new OpenStack environments, so tests must enable it if 'DISABLE_SSL' is not set to 'True'. Related-bug: #1520495 Change-Id: Ib3a851413c935e1423910fd65ea4f3086a5cd17d
This commit is contained in:
parent
1ce056eb36
commit
450ecbe97c
@ -59,6 +59,10 @@ def change_cluster_ssl_config(attributes, CN):
|
|||||||
attributes['editable']['public_ssl']['horizon'][
|
attributes['editable']['public_ssl']['horizon'][
|
||||||
'value'] = False
|
'value'] = False
|
||||||
elif not DISABLE_SSL and is_ssl_available:
|
elif not DISABLE_SSL and is_ssl_available:
|
||||||
|
attributes['editable']['public_ssl']['services'][
|
||||||
|
'value'] = True
|
||||||
|
attributes['editable']['public_ssl']['horizon'][
|
||||||
|
'value'] = True
|
||||||
attributes['editable']['public_ssl']['hostname'][
|
attributes['editable']['public_ssl']['hostname'][
|
||||||
'value'] = CN
|
'value'] = CN
|
||||||
if USER_OWNED_CERT:
|
if USER_OWNED_CERT:
|
||||||
|
Loading…
Reference in New Issue
Block a user