Created
December 12, 2022 10:00
-
-
Save alksndrglk/d07c87690bf1dbbcfcf82c3194ee69b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: minio-event | |
| spec: | |
| template: | |
| spec: | |
| containers: | |
| - name: minio-event-configuration | |
| image: minio/mc | |
| command: ["/bin/sh"] | |
| args: ["-c", "/usr/bin/mc config host rm local;/usr/bin/mc config host add --quiet --api s3v4 local http://minio-service:9000 user password;/usr/bin/mc mb local/test-bucket/;/usr/bin/mc policy set public local/test-bucket/;"] | |
| restartPolicy: Never | |
| backoffLimit: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment