File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ const (
3535 // AnnoRolloutProgressingInfos contains a slice of progressing info on resource.
3636 AnnoRolloutProgressingInfos = "rollout.kusionstack.io/progressing-infos"
3737
38- // AnnoPodRolloutProgressingInfos contains a slice of progressing infos on a pod.
39- AnnoPodRolloutProgressingInfos = "rollout.kusionstack.io/pod-progressing-infos"
40-
4138 // AnnoRolloutName is the name of the rollout object.
4239 AnnoRolloutName = "rollout.kusionstack.io/name"
40+ )
4341
42+ // traffic annotations
43+ const (
4444 // AnnoRouteSpecBackup is the origin spec of route object. It is used to rollback.
4545 AnnoRouteSpecBackup = "rollout.kusionstack.io/route-spec-backup"
4646 // AnnoRouteConditions is the conditions of route object.
Original file line number Diff line number Diff line change @@ -23,15 +23,13 @@ const (
2323
2424// canary labels
2525const (
26- // This label will be added to canary workload and pods.
27- LabelCanary = "rollout.kusionstack.io/canary"
26+ // This label will be set on objects to indicate that they are temporary resources.
27+ LabelCanaryResource = "rollout.kusionstack.io/canary-resource"
28+
2829 // This label indicates the revision of pods controlled by workload.
2930 LabelTrafficLane = "rollout.kusionstack.io/traffic-lane"
3031 LabelValueTrafficLaneStable = "stable"
3132 LabelValueTrafficLaneCanary = "canary"
32-
33- // This label is added to objects to indicate that they are temporary resources.
34- LabelTemporaryResource = "rollout.kusionstack.io/temporary-resource"
3533)
3634
3735// rollout class label
You can’t perform that action at this time.
0 commit comments