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:
1 parent
9198663462
commit
1edc3adc58
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user