ceph: add missing 'rook_cluster' label to crash

The crash deployment was missing the 'rook_cluster' label to indicate
which ceph cluster it is part of.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2020-03-12 11:43:20 +01:00
1 parent 9198663462
commit 1edc3adc58
1 file changed
+1
+1
View File
@@ -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,