mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 20:30:17 -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:
1 parent
3bc373fff0
commit
e1c5a06bf0
7 files changed
+78
-72
No files matched your search
@@ -70,12 +70,17 @@ class BigAnimalProvider(AbsProvider):
|
||||
parser_create_instance.add_argument('--public-ip', default='',
|
||||
help='Public IP '
|
||||
'(default: 127.0.0.1)')
|
||||
parser_create_instance.add_argument('--high-availability',
|
||||
required=True,
|
||||
help='High Availability')
|
||||
|
||||
def cmd_create_instance(self, args):
|
||||
""" Create a biganimal cluster """
|
||||
|
||||
try:
|
||||
private_network = True if args.private_network == '1' else False
|
||||
high_availability = True if args.high_availability == '1' else\
|
||||
False
|
||||
ip = args.public_ip if args.public_ip else '0.0.0.0/0'
|
||||
IpRanges = []
|
||||
|
||||
@@ -102,7 +107,7 @@ class BigAnimalProvider(AbsProvider):
|
||||
'replicas': 3,
|
||||
'volumePropertiesId': args.volume_properties,
|
||||
'volumeTypeId': args.volume_type,
|
||||
'zoneRedundantHa': False,
|
||||
'zoneRedundantHa': high_availability,
|
||||
'pgConfigMap': [],
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user