From d3f6923fbe57902b26c5e9f0b4ead612cc10e2ba Mon Sep 17 00:00:00 2001 From: Abby Bangser Date: Fri, 12 Jan 2024 10:10:06 +0000 Subject: [PATCH] chore: allow minio bucket create to bypass if already exisits Since we are working on improving start up time by allowing pre- exisiting clusters to be used in some instances, we also need to be resiliant to minio already existing / being set up. This additional flag is similar to '-p' in 'mkdir' unix: > Directs mc mb to do nothing if the bucket or directory already exists. --- config/samples/minio-install.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/samples/minio-install.yaml b/config/samples/minio-install.yaml index 650c4145..865d408a 100644 --- a/config/samples/minio-install.yaml +++ b/config/samples/minio-install.yaml @@ -82,7 +82,7 @@ spec: containers: - name: minio-event-configuration image: minio/mc:RELEASE.2023-06-06T13-48-56Z - command: ["mc", "mb", "minio/kratix"] + command: ["mc", "mb", "--ignore-existing", "minio/kratix"] env: - name: MC_ACCESS_KEY valueFrom: