Skip to content

Commit

Permalink
add mc admin info
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanthao committed Dec 10, 2024
1 parent 75767f9 commit 59bdf95
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions in-cluster/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 59bdf95

Please sign in to comment.