Skip to content

refactor: delete unused labels and annotations #37

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rollout/well_known_annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ const (
// AnnoRolloutProgressingInfos contains a slice of progressing info on resource.
AnnoRolloutProgressingInfos = "rollout.kusionstack.io/progressing-infos"

// AnnoPodRolloutProgressingInfos contains a slice of progressing infos on a pod.
AnnoPodRolloutProgressingInfos = "rollout.kusionstack.io/pod-progressing-infos"

// AnnoRolloutName is the name of the rollout object.
AnnoRolloutName = "rollout.kusionstack.io/name"
)

// traffic annotations
const (
// AnnoRouteSpecBackup is the origin spec of route object. It is used to rollback.
AnnoRouteSpecBackup = "rollout.kusionstack.io/route-spec-backup"
// AnnoRouteConditions is the conditions of route object.
Expand Down
8 changes: 3 additions & 5 deletions rollout/well_known_labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ const (

// canary labels
const (
// This label will be added to canary workload and pods.
LabelCanary = "rollout.kusionstack.io/canary"
// This label will be set on objects to indicate that they are temporary resources.
LabelCanaryResource = "rollout.kusionstack.io/canary-resource"

// This label indicates the revision of pods controlled by workload.
LabelTrafficLane = "rollout.kusionstack.io/traffic-lane"
LabelValueTrafficLaneStable = "stable"
LabelValueTrafficLaneCanary = "canary"

// This label is added to objects to indicate that they are temporary resources.
LabelTemporaryResource = "rollout.kusionstack.io/temporary-resource"
)

// rollout class label
Expand Down
Loading