mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed some cloud deployment issues:
- Added High Availability option - Server group renamed to pgAdmin server group - Removed the Private option from Networking otherwise, it would not be possible to connect the server from pgAdmin.
This commit is contained in:
committed by
Akshay Joshi
parent
3bc373fff0
commit
e1c5a06bf0
@@ -366,6 +366,8 @@ def deploy_on_biganimal(data):
|
||||
_label = data['instance_details']['name']
|
||||
_private_network = '1' if str(data['instance_details']['cloud_type']
|
||||
) == 'private' else '0'
|
||||
_high_availability = '1' if data['db_details']['high_availability']\
|
||||
else '0'
|
||||
_instance_size = data['instance_details']['instance_size'].split('||')[1]
|
||||
|
||||
args = [_cmd_script,
|
||||
@@ -386,7 +388,9 @@ def deploy_on_biganimal(data):
|
||||
'--instance-type',
|
||||
str(_instance_size),
|
||||
'--private-network',
|
||||
_private_network
|
||||
_private_network,
|
||||
'--high-availability',
|
||||
_high_availability
|
||||
]
|
||||
|
||||
if 'biganimal_public_ip' in data['instance_details']:
|
||||
|
||||
Reference in New Issue
Block a user