Skip to content

Commit

Permalink
Add support for multi tier nodes with different PVC sizes (datainfrah…
Browse files Browse the repository at this point in the history
…q#106) (datainfrahq#152)

Co-authored-by: Farhad Farahi <[email protected]>
  • Loading branch information
2 people authored and TessaIO committed Jul 24, 2024
1 parent d4ea995 commit 2fa98b2
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 2fa98b2

Please sign in to comment.