From 2976b669f79550b6f1d377a843ff32d4cd3e6eed Mon Sep 17 00:00:00 2001 From: xhe Date: Mon, 21 Aug 2023 15:53:32 +0800 Subject: [PATCH] Revert "fix: revert 'add missing tiproxy label' (#5244)" 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 99a4101190..db693d422b 100644 --- a/pkg/apis/pingcap/v1alpha1/component_spec.go +++ b/pkg/apis/pingcap/v1alpha1/component_spec.go @@ -478,6 +478,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: