@@ -20,6 +20,12 @@ const (
2020 WorkKind = "Work"
2121 // AppliedWorkKind represents the kind of AppliedWork.
2222 AppliedWorkKind = "AppliedWork"
23+ // ClusterStagedUpdateRunKind is the kind of the ClusterStagedUpdateRun.
24+ ClusterStagedUpdateRunKind = "ClusterStagedUpdateRun"
25+ // ClusterStagedUpdateStrategyKind is the kind of the ClusterStagedUpdateStrategy.
26+ ClusterStagedUpdateStrategyKind = "ClusterStagedUpdateStrategy"
27+ // ClusterApprovalRequestKind is the kind of the ClusterApprovalRequest.
28+ ClusterApprovalRequestKind = "ClusterApprovalRequest"
2329)
2430
2531const (
@@ -91,6 +97,25 @@ const (
9197 // PreviousBindingStateAnnotation records the previous state of a binding.
9298 // This is used to remember if an "unscheduled" binding was moved from a "bound" state or a "scheduled" state.
9399 PreviousBindingStateAnnotation = fleetPrefix + "previous-binding-state"
100+
101+ // ClusterStagedUpdateRunFinalizer is used by the ClusterStagedUpdateRun controller to make sure that the ClusterStagedUpdateRun
102+ // object is not deleted until all its dependent resources are deleted.
103+ ClusterStagedUpdateRunFinalizer = fleetPrefix + "stagedupdaterun-finalizer"
104+
105+ // TargetUpdateRunLabel indicates the target update run on a staged run related object.
106+ TargetUpdateRunLabel = fleetPrefix + "targetupdaterun"
107+
108+ // UpdateRunDeleteStageName is the name of delete stage in the staged update run.
109+ UpdateRunDeleteStageName = fleetPrefix + "deleteStage"
110+
111+ // IsLatestUpdateRunApprovalLabel indicates if the approval is the latest approval on a staged run.
112+ IsLatestUpdateRunApprovalLabel = fleetPrefix + "isLatestUpdateRunApproval"
113+
114+ // TargetUpdatingStageNameLabel indicates the updating stage name on a staged run related object.
115+ TargetUpdatingStageNameLabel = fleetPrefix + "targetUpdatingStage"
116+
117+ // ApprovalTaskNameFmt is the format of the approval task name.
118+ ApprovalTaskNameFmt = "%s-%s"
94119)
95120
96121// NamespacedName comprises a resource name, with a mandatory namespace.
0 commit comments