Use localhost instead of service name
This commit is contained in:
parent
15ebb45854
commit
f536c33298
|
@ -88,7 +88,7 @@ pub async fn create_deployment(client: Client, namespace: &str) -> Result<(), Er
|
|||
]),
|
||||
image: Some("minio/mc".to_string()),
|
||||
command: Some(vec!["bash".to_string(), "-c".to_string()]),
|
||||
args: Some(vec!["until (/usr/bin/mc alias set minio http://minio:9000 $$MINIO_ROOT_USER $$MINIO_ROOT_PASSWORD) do
|
||||
args: Some(vec!["until (/usr/bin/mc alias set minio http://localhost:9000 $$MINIO_ROOT_USER $$MINIO_ROOT_PASSWORD) do
|
||||
echo 'Waiting to start minio...' && sleep 1;
|
||||
done;
|
||||
/usr/bin/mc mb --ignore-existing minio/neon --region=eu-north-1;
|
||||
|
|
Loading…
Reference in New Issue