Skip to content

Commit

Permalink
Merge pull request #729 from werf/fix-minio
Browse files Browse the repository at this point in the history
Fix version of minio-mc image
  • Loading branch information
Zhbert authored May 8, 2024
2 parents e9fc538 + 9c5a8d5 commit a1bf9b3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _includes/en/guides/200_real_apps/050_s3.md.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ This is file content.

Let’s make sure that the file gets saved directly to the storage and pulled from it. To do this, run the container having the `mc` tool to interact with MinIO:
```shell
kubectl run mc --image=minio/mc::RELEASE.2023-10-24T21-42-22Z --rm -it --command -- bash
kubectl run mc --image=minio/mc:RELEASE.2023-10-04T06-52-56Z --rm -it --command -- bash
```

Now, execute the following commands in the container’s shell:
Expand Down
2 changes: 1 addition & 1 deletion _includes/ru/guides/200_real_apps/050_s3.md.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This is file content.

Также убедимся, что файл сохранился и достаётся именно из хранилища. Для этого сначала запустим контейнер с утилитой `mc` для взаимодействия с MinIO:
```shell
kubectl -n werf-guide-app run mc --image=minio/mc:RELEASE.2023-10-24T21-42-22Z --rm -it --command -- bash
kubectl -n werf-guide-app run mc --image=minio/mc:RELEASE.2023-10-04T06-52-56Z --rm -it --command -- bash
```

Теперь, оказавшись внутри контейнера, выполним команды:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
restartPolicy: Never
containers:
- name: setup-minio
image: minio/mc:RELEASE.2023-10-24T21-42-22Z
image: minio/mc:RELEASE.2023-10-04T06-52-56Z
command:
- sh
- -euc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
restartPolicy: Never
containers:
- name: setup-minio
image: minio/mc:RELEASE.2023-10-24T21-42-22Z
image: minio/mc:RELEASE.2023-10-04T06-52-56Z
command:
- sh
- -euc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
restartPolicy: Never
containers:
- name: setup-minio
image: minio/mc:RELEASE.2023-10-24T21-42-22Z
image: minio/mc:RELEASE.2023-10-04T06-52-56Z
command:
- sh
- -euc
Expand Down
2 changes: 1 addition & 1 deletion examples/rails/050_s3/.helm/templates/job-setup-minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
restartPolicy: Never
containers:
- name: setup-minio
image: minio/mc:RELEASE.2023-10-24T21-42-22Z
image: minio/mc:RELEASE.2023-10-04T06-52-56Z
command:
- sh
- -euc
Expand Down

0 comments on commit a1bf9b3

Please sign in to comment.