Skip to content

Commit 62e8736

Browse files
committed
rename to BlobstorageInitComponent
1 parent 5f50796 commit 62e8736

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/labels/label.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const (
2525
StorageGeneration = "ydb.tech/storage-generation"
2626
DatabaseGeneration = "ydb.tech/database-generation"
2727

28-
StorageComponent = "storage-node"
29-
DynamicComponent = "dynamic-node"
30-
InitComponent = "init-command"
28+
StorageComponent = "storage-node"
29+
DynamicComponent = "dynamic-node"
30+
BlobstorageInitComponent = "blobstorage-init"
3131

3232
GRPCComponent = "grpc"
3333
InterconnectComponent = "interconnect"

internal/resources/storage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (b *StorageClusterBuilder) NewInitJobLabels() labels.Labels {
5555
if b.Spec.InitJob != nil {
5656
l.Merge(b.Spec.InitJob.AdditionalLabels)
5757
}
58-
l.Merge(map[string]string{labels.ComponentKey: labels.InitComponent})
58+
l.Merge(map[string]string{labels.ComponentKey: labels.BlobstorageInitComponent})
5959

6060
return l
6161
}

0 commit comments

Comments
 (0)