diff --git a/in-cluster/default.yaml b/in-cluster/default.yaml index 509f1be..9d158a3 100644 --- a/in-cluster/default.yaml +++ b/in-cluster/default.yaml @@ -168,6 +168,44 @@ spec: name: kots/rqlite/logs selector: - app=kotsadm-rqlite + - logs: + collectorName: minio-logs + name: kots/minio/logs + selector: + - app=kotsadm-minio + - exec: + collectorName: minio-ls + command: + - /usr/bin/mc + args: + - ls + - --summarize + - --recursive + - --json + - /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: + - /usr/bin/mc + args: + - ls + - --summarize + - --recursive + - --json + - /data + selector: + - app=kotsadm-fs-minio - logs: collectorName: weave-net selector: