Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt: add volume name label to PVC #6059

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

fgksgf
Copy link
Member

@fgksgf fgksgf commented Feb 6, 2025

What problem does this PR solve?

What is changed and how does it work?

Code changes

  • Has Go code change
  • Has CI related scripts change

Tests

  • Unit test
  • E2E test
  • Manual test
  • No code

Side effects

  • Breaking backward compatibility
  • Other side effects:

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release Notes

Please refer to Release Notes Language Style Guide before writing the release note.


@ti-chi-bot ti-chi-bot bot requested review from howardlau1999 and shonge February 6, 2025 07:29
@fgksgf fgksgf added the v2 for operator v2 label Feb 6, 2025
@ti-chi-bot ti-chi-bot bot added the size/L label Feb 6, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.42%. Comparing base (012f729) to head (762cfe6).

Additional details and impacted files
@@              Coverage Diff               @@
##           feature/v2    #6059      +/-   ##
==============================================
+ Coverage       69.41%   69.42%   +0.01%     
==============================================
  Files             153      153              
  Lines            9684     9688       +4     
==============================================
+ Hits             6722     6726       +4     
  Misses           2962     2962              
Flag Coverage Δ
unittest 69.42% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@fgksgf
Copy link
Member Author

fgksgf commented Feb 6, 2025

/run-pull-e2e-kind-v2

1 similar comment
@fgksgf
Copy link
Member Author

fgksgf commented Feb 6, 2025

/run-pull-e2e-kind-v2

@@ -87,6 +87,8 @@ const (
// LabelKeyStoreID is the unique identifier of a TiKV or TiFlash store.
// This label is used for backward compatibility with TiDB Operator v1, so it has a different prefix.
LabelKeyStoreID = "tidb.pingcap.com/store-id"

LabelKeyVolumeName = LabelKeyPrefix + "volume-name"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment of this label

@fgksgf
Copy link
Member Author

fgksgf commented Feb 7, 2025

/run-pull-e2e-kind-v2

@ti-chi-bot ti-chi-bot bot added the lgtm label Feb 7, 2025
Copy link
Contributor

ti-chi-bot bot commented Feb 7, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-02-07 09:07:21.470777516 +0000 UTC m=+1883.866999578: ☑️ agreed by csuzhangxc.

Copy link
Contributor

ti-chi-bot bot commented Feb 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csuzhangxc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Feb 7, 2025
@ti-chi-bot ti-chi-bot bot merged commit 39b6417 into pingcap:feature/v2 Feb 7, 2025
7 of 8 checks passed
@fgksgf fgksgf deleted the huaxi/add-pvc-label branch February 7, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants