Skip to content

Commit fa85ef7

Browse files
committed
Cleanup.
1 parent 4d16c65 commit fa85ef7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

hub/src/test/java/cloud/katta/testsetup/AbstractHubTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public abstract class AbstractHubTest extends VaultTest {
6565
new HubTestConfig(LOCAL, vs)));
6666

6767
public static final Arguments LOCAL_MINIO_STATIC = prepareArgumentLocal.apply(new HubTestConfig.VaultSpec(
68-
"MinIO static", "71B910E0-2ECC-46DE-A871-8DB28549677E", "handmade_access", "top-secret", "us-east-1"));
68+
"MinIO static", "71B910E0-2ECC-46DE-A871-8DB28549677E", "testuser", "top-secret", "us-east-1"));
6969
public static final Arguments LOCAL_MINIO_STS = prepareArgumentLocal.apply(new HubTestConfig.VaultSpec(
7070
"MinIO STS", "732D43FA-3716-46C4-B931-66EA5405EF1C", null, null, "eu-central-1"));
7171

hub/src/test/resources/docker-compose-minio-localhost-hub.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ services:
226226
/mc idp openid ls myminio
227227
/mc idp openid info myminio
228228
229-
/mc admin user add myminio handmade_access top-secret
230-
/mc admin policy create myminio handmade_accesspolicy /setup/local/minio_static/handmade_accessbucketpolicy.json
231-
/mc admin policy create myminio handmade_createpolicy /setup/local/minio_static/handmade_createbucketpolicy.json
232-
/mc admin policy attach myminio handmade_accesspolicy --user handmade_access
233-
/mc admin policy attach myminio handmade_createpolicy --user handmade_access
229+
/mc admin user add myminio testuser top-secret
230+
/mc admin policy create myminio testuser_accesspolicy /setup/local/minio_static/accessbucketpolicy.json
231+
/mc admin policy create myminio testuser_createpolicy /setup/local/minio_static/createbucketpolicy.json
232+
/mc admin policy attach myminio testuser_accesspolicy --user testuser
233+
/mc admin policy attach myminio testuser_createpolicy --user testuser
234234
235235
echo "Completed MinIO Setup"
236236

0 commit comments

Comments
 (0)