mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 21:55:46 +02:00
Add support in UI for custom S3 endpoints for backups (#1152)
* Support custom S3 endpoint for backups * Log info about AWS S3 endpoint during start up
This commit is contained in:
@@ -104,6 +104,8 @@ USE_AWS_INSTANCE_PROFILE = (
|
||||
getenv('USE_AWS_INSTANCE_PROFILE', 'false').lower() != 'false'
|
||||
)
|
||||
|
||||
AWS_ENDPOINT = getenv('AWS_ENDPOINT')
|
||||
|
||||
tokens.configure()
|
||||
tokens.manage('read-only')
|
||||
tokens.start()
|
||||
@@ -1055,6 +1057,7 @@ def main(port, secret_key, debug, clusters: list):
|
||||
logger.info(f'Tokeninfo URL: {TOKENINFO_URL}')
|
||||
logger.info(f'Use AWS instance_profile: {USE_AWS_INSTANCE_PROFILE}')
|
||||
logger.info(f'WAL-E S3 endpoint: {WALE_S3_ENDPOINT}')
|
||||
logger.info(f'AWS S3 endpoint: {AWS_ENDPOINT}')
|
||||
|
||||
if TARGET_NAMESPACE is None:
|
||||
@on_exception(
|
||||
|
||||
Reference in New Issue
Block a user