ceph-csi/internal/rbd/driver
Niels de Vos 437d90c84d rbd: do not start the healer for NBD on non-Kubernetes platforms
When running on Docker Swarm, the RBD-healer fails with an error like:

> healer had failures, err failed to get cluster config: unable to load
> in-cluster configuration, KUBERNETES_SERVICE_HOST and
> KUBERNETES_SERVICE_PORT must be defined

Before starting the healer, check if we're running on Kubernetes, so
that non-Kubernetes platforms do not get confusing warnings.

Updates: #3769
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-04-02 13:59:11 +00:00
..
driver_test.go rbd: address golangci-lint issues 2024-04-09 06:55:23 +00:00
driver.go rbd: do not start the healer for NBD on non-Kubernetes platforms 2025-04-02 13:59:11 +00:00