Skip to content

Commit 2399b38

Browse files
Merge pull request #39 from KusionStack/traffic-lane
feat: add unkown traffic lane
2 parents 2d7d627 + 3059425 commit 2399b38

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

rollout/well_known_labels.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ const (
2424
// canary labels
2525
const (
2626
// This label will be set on objects to indicate that they are temporary resources.
27-
LabelCanaryResource = "rollout.kusionstack.io/canary-resource"
27+
CanaryResourceLabelKey = "rollout.kusionstack.io/canary-resource"
2828

2929
// This label indicates the revision of pods controlled by workload.
30-
LabelTrafficLane = "rollout.kusionstack.io/traffic-lane"
31-
LabelValueTrafficLaneStable = "stable"
32-
LabelValueTrafficLaneCanary = "canary"
30+
TrafficLaneLabelKey = "rollout.kusionstack.io/traffic-lane"
31+
StableTrafficLane = "stable"
32+
CanaryTrafficLane = "canary"
33+
UnknownTrafficLane = "__unknown__"
3334
)
3435

3536
// rollout class label

0 commit comments

Comments
 (0)