From 7f606981bd35eacc5fbd9b859e31ccde7ce84d7a Mon Sep 17 00:00:00 2001 From: Farhad Farahi Date: Tue, 9 Apr 2024 14:36:33 +0200 Subject: [PATCH] Add support for multi tier nodes with different PVC sizes (#106) (#152) Co-authored-by: Farhad Farahi --- controllers/druid/volume_expansion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/druid/volume_expansion.go b/controllers/druid/volume_expansion.go index e8b64934..3ae6ee07 100644 --- a/controllers/druid/volume_expansion.go +++ b/controllers/druid/volume_expansion.go @@ -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 {