Skip to content

Commit

Permalink
Merge pull request #407 from iamniting/rook-deps
Browse files Browse the repository at this point in the history
Revert "bundle: remove rook as a dependency to allow upgrades from 4.15 to 4.16"
  • Loading branch information
openshift-merge-bot[bot] authored May 15, 2024
2 parents 5cc0103 + b156aff commit 0c42993
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions bundle/metadata/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ dependencies:
value:
packageName: ocs-operator
version: ">=4.15.0 <=4.16.0"
- type: olm.package
value:
packageName: rook-ceph-operator
version: ">=4.15.0 <=4.16.0"
- type: olm.package
value:
packageName: ocs-client-operator
Expand Down
4 changes: 2 additions & 2 deletions controllers/subscriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func GetStorageClusterSubscriptions() []*operatorv1alpha1.Subscription {
},
}

_ = &operatorv1alpha1.Subscription{
rookSubscription := &operatorv1alpha1.Subscription{
ObjectMeta: metav1.ObjectMeta{
Name: RookSubscriptionName,
Namespace: OperatorNamespace,
Expand Down Expand Up @@ -481,7 +481,7 @@ func GetStorageClusterSubscriptions() []*operatorv1alpha1.Subscription {
},
}

return []*operatorv1alpha1.Subscription{ocsSubscription, noobaaSubscription,
return []*operatorv1alpha1.Subscription{ocsSubscription, rookSubscription, noobaaSubscription,
csiAddonsSubscription, ocsClientSubscription, prometheusSubscription, recipeSubscription}
}

Expand Down

0 comments on commit 0c42993

Please sign in to comment.