File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ type BatchProgressingInfo struct {
118
118
}
119
119
120
120
const (
121
- RouteConditionTypeReady = "Ready"
122
- RouteConditionTypeSynced = "Synced"
121
+ ConditionTypeReady = "Ready"
122
+ ConditionTypeSynced = "Synced"
123
123
)
124
124
125
- // RouteConditionExtension contains the conditions of route
126
- type RouteConditionExtension struct {
125
+ // ConditionExtension contains the conditions of route
126
+ type ConditionExtension struct {
127
127
Conditions []metav1.Condition `json:"conditions,omitempty"`
128
128
}
Original file line number Diff line number Diff line change @@ -39,10 +39,11 @@ const (
39
39
AnnoRolloutName = "rollout.kusionstack.io/name"
40
40
)
41
41
42
- // traffic annotations
42
+ // new style key
43
43
const (
44
- // AnnoRouteSpecBackup is the origin spec of route object. It is used to rollback.
45
- AnnoRouteSpecBackup = "rollout.kusionstack.io/route-spec-backup"
46
- // AnnoRouteConditions is the conditions of route object.
47
- AnnoRouteConditions = "rollout.kusionstack.io/route-conditions"
44
+ // OriginRouteSpecAnnoKey is the backup of origin route object spec. It is used to rollback.
45
+ OriginRouteSpecAnnoKey = "rollout.kusionstack.io/origin-route-spec"
46
+
47
+ // AnnoConditionExtension is the annotation key of condition extension.
48
+ ConditionExtensionAnnoKey = "rollout.kusionstack.io/condition-extension"
48
49
)
You can’t perform that action at this time.
0 commit comments