Skip to content

Commit

Permalink
Merge pull request #2786 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2776-to-release-4.17

Bug 2300312:[release-4.17] disabling rook mgr module in CephCluster
  • Loading branch information
openshift-merge-bot[bot] committed Sep 4, 2024
2 parents 211e5d3 + 53e91d7 commit 56102a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/storagecluster/cephcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,7 @@ func generateMgrSpec(sc *ocsv1.StorageCluster) rookCephv1.MgrSpec {
Modules: []rookCephv1.Module{
{Name: "pg_autoscaler", Enabled: true},
{Name: "balancer", Enabled: true},
{Name: "rook", Enabled: false},
},
}

Expand Down
4 changes: 4 additions & 0 deletions controllers/storagecluster/cephcluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func TestGenerateMgrSpec(t *testing.T) {
Modules: []rookCephv1.Module{
{Name: "pg_autoscaler", Enabled: true},
{Name: "balancer", Enabled: true},
{Name: "rook", Enabled: false},
},
},
},
Expand All @@ -326,6 +327,7 @@ func TestGenerateMgrSpec(t *testing.T) {
Modules: []rookCephv1.Module{
{Name: "pg_autoscaler", Enabled: true},
{Name: "balancer", Enabled: true},
{Name: "rook", Enabled: false},
},
},
},
Expand All @@ -349,6 +351,7 @@ func TestGenerateMgrSpec(t *testing.T) {
Modules: []rookCephv1.Module{
{Name: "pg_autoscaler", Enabled: true},
{Name: "balancer", Enabled: true},
{Name: "rook", Enabled: false},
},
},
},
Expand All @@ -362,6 +365,7 @@ func TestGenerateMgrSpec(t *testing.T) {
Modules: []rookCephv1.Module{
{Name: "pg_autoscaler", Enabled: true},
{Name: "balancer", Enabled: true},
{Name: "rook", Enabled: false},
},
},
},
Expand Down

0 comments on commit 56102a0

Please sign in to comment.