diff --git a/in-cluster/default.yaml b/in-cluster/default.yaml index 4642a4a..9d158a3 100644 --- a/in-cluster/default.yaml +++ b/in-cluster/default.yaml @@ -185,6 +185,15 @@ spec: - /export/kotsadm selector: - app=kotsadm-minio + - exec: + collectorName: minio-admin-info + command: + - /bin/sh + args: + - -c + - "mc alias set myminio http://localhost:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY > /dev/null 2>&1 && mc admin info myminio --json" + selector: + - app=kotsadm-minio - exec: collectorName: minio-fs-ls command: