Skip to content
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