From f1354d44e4ad78d24df0d1f0e2edd5b0770807b8 Mon Sep 17 00:00:00 2001 From: xhe Date: Wed, 3 Jan 2024 19:15:00 +0800 Subject: [PATCH] Revert "fix: revert 'add missing tiproxy label' (#5244)" (#5259) This reverts commit 808f5875bc6b8cead3581a228b65115c2e799752. --- pkg/apis/pingcap/v1alpha1/component_spec.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/apis/pingcap/v1alpha1/component_spec.go b/pkg/apis/pingcap/v1alpha1/component_spec.go index 340455bfa8..27abaa6179 100644 --- a/pkg/apis/pingcap/v1alpha1/component_spec.go +++ b/pkg/apis/pingcap/v1alpha1/component_spec.go @@ -485,6 +485,8 @@ func getComponentLabelValue(c MemberType) string { return label.TiKVLabelVal case TiFlashMemberType: return label.TiFlashLabelVal + case TiProxyMemberType: + return label.TiProxyLabelVal case TiCDCMemberType: return label.TiCDCLabelVal case PumpMemberType: