github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/engine/helm/minio/minio-create-bucket.yaml (about)

     1  apiVersion: batch/v1
     2  kind: Job
     3  metadata:
     4    name: chaos-minio-create-bucket-job
     5  spec:
     6    template:
     7      spec:
     8        containers:
     9          - name: chaos-test-case
    10            image: minio/mc
    11            imagePullPolicy: IfNotPresent
    12            command: ['/bin/sh', '-c', '/usr/bin/mc alias set myminio http://chaos-minio:9000 engine engineSecret || exit 1; /usr/bin/mc mb myminio/engine-it || exit 1;']
    13        restartPolicy: Never
    14    backoffLimit: 0 # fail immediately