ceph-csi/internal
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
..
cephfs cephfs: upgrading mount syntax 2025-03-25 14:39:22 +00:00
controller rbd: controller to regenerate volume group omap data 2025-01-28 17:19:32 +00:00
csi-addons rbd: use the existing VolumeGroup if contents are matching 2025-03-27 14:09:44 +00:00
csi-common util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
health-checker doc: fix codespell problem 2024-09-04 10:13:47 +00:00
journal rbd: add MakeVolumeGroupID() utility function 2025-03-27 14:09:44 +00:00
kms rbd: fix encrypted PVC with metadata KMS cannot be deleted 2025-02-25 13:51:42 +00:00
liveness ci: non-constant format string (govet) 2025-01-08 11:56:24 +00:00
nfs util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
rbd rbd: do not start the healer for NBD on non-Kubernetes platforms 2025-04-02 13:59:11 +00:00
util cleanup: move internal/rbd/errors.go to internal/rbd/errors pacakge 2025-03-27 09:59:12 +00:00