SIENTIAPDE-1712
Update MinIO configuration by changing access key in values.yaml and removing region_name references in multiple files to streamline configuration.
This commit is contained in:
@@ -410,7 +410,6 @@ async def test_activities(
|
|||||||
'endpoint_url': 'http://localhost:9000',
|
'endpoint_url': 'http://localhost:9000',
|
||||||
'access_key': 'test',
|
'access_key': 'test',
|
||||||
'secret_key': 'test',
|
'secret_key': 'test',
|
||||||
'region_name': 'us-east-1',
|
|
||||||
'default_bucket': 'test-bucket',
|
'default_bucket': 'test-bucket',
|
||||||
},
|
},
|
||||||
opc_config={},
|
opc_config={},
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ def build_minio_config() -> dict[str, Any]:
|
|||||||
'endpoint_url': getenv('MINIO_ENDPOINT_URL', 'http://localhost:9000'),
|
'endpoint_url': getenv('MINIO_ENDPOINT_URL', 'http://localhost:9000'),
|
||||||
'access_key': getenv('MINIO_ACCESS_KEY', 'minioadmin'),
|
'access_key': getenv('MINIO_ACCESS_KEY', 'minioadmin'),
|
||||||
'secret_key': getenv('MINIO_SECRET_KEY', 'minioadmin'),
|
'secret_key': getenv('MINIO_SECRET_KEY', 'minioadmin'),
|
||||||
'region_name': getenv('MINIO_REGION_NAME', 'us-east-1'),
|
|
||||||
'default_bucket': getenv('MINIO_DEFAULT_BUCKET', 'laborious'),
|
'default_bucket': getenv('MINIO_DEFAULT_BUCKET', 'laborious'),
|
||||||
'retention_hours': int(getenv('MINIO_RETENTION_HOURS', '24')),
|
'retention_hours': int(getenv('MINIO_RETENTION_HOURS', '24')),
|
||||||
'secure': getenv('MINIO_SECURE', 'false') == 'true',
|
'secure': getenv('MINIO_SECURE', 'false') == 'true',
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ def test___init__(
|
|||||||
'endpoint_url': 'localhost:9000',
|
'endpoint_url': 'localhost:9000',
|
||||||
'access_key': 'minio',
|
'access_key': 'minio',
|
||||||
'secret_key': 'minio123',
|
'secret_key': 'minio123',
|
||||||
'region_name': 'us-east-1',
|
|
||||||
'default_bucket': 'test',
|
'default_bucket': 'test',
|
||||||
'retention_hours': 24,
|
'retention_hours': 24,
|
||||||
}
|
}
|
||||||
@@ -187,7 +186,6 @@ async def test_shutdown(
|
|||||||
'endpoint_url': 'localhost:9000',
|
'endpoint_url': 'localhost:9000',
|
||||||
'access_key': 'minio',
|
'access_key': 'minio',
|
||||||
'secret_key': 'minio123',
|
'secret_key': 'minio123',
|
||||||
'region_name': 'us-east-1',
|
|
||||||
'default_bucket': 'test',
|
'default_bucket': 'test',
|
||||||
'retention_hours': 24,
|
'retention_hours': 24,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,7 +100,6 @@ def test_build_minio_config_with_env_vars():
|
|||||||
'endpoint_url': 'http://test-host',
|
'endpoint_url': 'http://test-host',
|
||||||
'access_key': 'test-key',
|
'access_key': 'test-key',
|
||||||
'secret_key': 'test-secret',
|
'secret_key': 'test-secret',
|
||||||
'region_name': 'test-region',
|
|
||||||
'default_bucket': 'test-bucket',
|
'default_bucket': 'test-bucket',
|
||||||
'retention_hours': 24,
|
'retention_hours': 24,
|
||||||
}
|
}
|
||||||
@@ -116,7 +115,6 @@ def test_build_minio_config_with_defaults():
|
|||||||
'endpoint_url': 'http://localhost:9000',
|
'endpoint_url': 'http://localhost:9000',
|
||||||
'access_key': 'minioadmin',
|
'access_key': 'minioadmin',
|
||||||
'secret_key': 'minioadmin',
|
'secret_key': 'minioadmin',
|
||||||
'region_name': 'us-east-1',
|
|
||||||
'default_bucket': 'laborious',
|
'default_bucket': 'laborious',
|
||||||
'retention_hours': 24,
|
'retention_hours': 24,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -226,9 +226,7 @@ env:
|
|||||||
- name: MINIO_ACCESS_KEY
|
- name: MINIO_ACCESS_KEY
|
||||||
value: "admin"
|
value: "admin"
|
||||||
- name: MINIO_SECRET_KEY
|
- name: MINIO_SECRET_KEY
|
||||||
value: "FvcxOPX55j"
|
value: "LiArt4eNmJ"
|
||||||
- name: MINIO_REGION_NAME
|
|
||||||
value: "sa-east-1"
|
|
||||||
- name: MINIO_DEFAULT_BUCKET
|
- name: MINIO_DEFAULT_BUCKET
|
||||||
value: "sientia"
|
value: "sientia"
|
||||||
- name: MINIO_RETENTION_HOURS
|
- name: MINIO_RETENTION_HOURS
|
||||||
|
|||||||
Reference in New Issue
Block a user