Skip to content

Commit

Permalink
Merge pull request #7 from clobrano/fix-status-condition-labels-packa…
Browse files Browse the repository at this point in the history
…ge/0
  • Loading branch information
clobrano authored Jul 20, 2023
2 parents e064487 + ea08c9a commit 74ae260
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions pkg/conditions/conditions.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package conditions

const (
// ProcessingType is the condition type used to signal the remediation has started and it is in progress, or has finished
ProcessingType = "Processing"
// SucceededType is the condition type used to signal whether the remediation was successful or not
SucceededType = "Succeeded"
)
4 changes: 0 additions & 4 deletions pkg/labels/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ const (
MasterRole = "node-role.kubernetes.io/master"
// ControlPlaneRole is the new role label of control plane nodes
ControlPlaneRole = "node-role.kubernetes.io/control-plane"
// ProcessingConditionType is the condition type used to signal the remediation has started and it is in progress, or has finished
ProcessingConditionType = "Processing"
// SucceededConditionType is the condition type used to signal whether the remediation was successful or not
SucceededConditionType = "Succeeded"
)

0 comments on commit 74ae260

Please sign in to comment.