--- apiVersion: batch/v1 kind: Job metadata: name: minio-client/init labels: app.kubernetes.io/component: script app.kubernetes.io/name: minio-client/init spec: template: metadata: labels: app.kubernetes.io/name: minio-client/init spec: restartPolicy: Never containers: - name: minio-client image: {{ MINIO_DOCKER_REGISTRY }}{{ MINIO_DOCKER_IMAGE_CLIENT }} command: ["/bin/sh", "-e", "-c"] args: - | {{ include_plugin_script("minio", "minio-client", "init")|indent(12) }}