From 1edc3adc583b4e06dc4a089161edc367897d792f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 12 Mar 2020 11:43:20 +0100 Subject: [PATCH] ceph: add missing 'rook_cluster' label to crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The crash deployment was missing the 'rook_cluster' label to indicate which ceph cluster it is part of. Signed-off-by: Sébastien Han --- pkg/operator/ceph/cluster/crash/crash.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/operator/ceph/cluster/crash/crash.go b/pkg/operator/ceph/cluster/crash/crash.go index f5df59c9d..0320bcfcd 100644 --- a/pkg/operator/ceph/cluster/crash/crash.go +++ b/pkg/operator/ceph/cluster/crash/crash.go @@ -77,6 +77,7 @@ func (r *ReconcileNode) createOrUpdateCephCrash(node corev1.Node, tolerations [] } deploymentLabels[string(config.CrashType)] = "crash" deploymentLabels["ceph_daemon_id"] = "crash" + deploymentLabels[k8sutil.ClusterAttr] = cephCluster.GetNamespace() selectorLabels := map[string]string{ corev1.LabelHostname: nodeHostnameLabel,