Use localhost instead of service name

This commit is contained in:
Michael Francis 2024-05-26 13:02:55 -04:00
parent 15ebb45854
commit f536c33298
1 changed files with 1 additions and 1 deletions

View File

@ -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;