From 41719149c32534c1571bcc4dc83b5814cdc0bef9 Mon Sep 17 00:00:00 2001 From: Farhad Farahi Date: Thu, 4 Apr 2024 15:45:40 +0200 Subject: [PATCH] Add support for multi tier nodes with different PVC sizes (#106) --- 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 {