# Health check for deployments should not require listBuckets() access

**URL:** https://hub.mender.io/t/health-check-for-deployments-should-not-require-listbuckets-access/4714
**Category:** General Discussions
**Created:** [March 3, 2022, 3:50pm UTC](https://hub.mender.io/t/health-check-for-deployments-should-not-require-listbuckets-access/4714 "2022-03-03T15:50:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![grandfield](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/grandfield/32/949_2.png) [@grandfield](https://hub.mender.io/u/grandfield)
#### Post date: [March 3, 2022, 3:50pm UTC](https://hub.mender.io/t/health-check-for-deployments-should-not-require-listbuckets-access/4714/1 "2022-03-03T15:50:03Z")

</div>

Small one, deployments/app/app.go:HealthCheck calls fileStorage.listBuckets() to establish health of the pod in k8s. Ideally it should only need permission to write to the bucket it’s using, and not access to list all buckets. I hope this is the appropriate forum to log such trivial issues. Hope this helps. a.g.
