Skip to content

Commit

Permalink
Add support for multi tier nodes with different PVC sizes (#106) (#152)
Browse files Browse the repository at this point in the history
Co-authored-by: Farhad Farahi <farhad@adjoe.io>
  • Loading branch information
FarhadF and Farhad Farahi committed Apr 9, 2024
1 parent 6eb2937 commit 7f60698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/druid/volume_expansion.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func scalePVCForSts(ctx context.Context, sdk client.Client, nodeSpec *v1alpha1.D
}

pvcLabels := map[string]string{
"component": nodeSpec.NodeType,
"nodeSpecUniqueStr": nodeSpecUniqueStr,
}

pvcList, err := readers.List(ctx, sdk, drd, pvcLabels, emitEvent, func() objectList { return &v1.PersistentVolumeClaimList{} }, func(listObj runtime.Object) []object {
Expand Down

0 comments on commit 7f60698

Please sign in to comment.