Skip to content

Commit 719367f

Browse files
committed
Removes URL prefixes from condition types
1 parent 8a647b3 commit 719367f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

api/v1alpha1/conditions.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,29 @@ const (
2424
// ResourceGroupConditionTypeGraphSynced indicates the state of the directed
2525
// acyclic graph (DAG) that kro uses to manage the resources in a
2626
// ResourceGroup.
27-
ResourceGroupConditionTypeGraphVerified ConditionType = "kro.aws.dev/GraphVerified"
27+
ResourceGroupConditionTypeGraphVerified ConditionType = "GraphVerified"
2828
// ResourceGroupConditionTypeCustomResourceDefinitionSynced indicates the state of the
2929
// CustomResourceDefinition (CRD) that kro uses to manage the resources in a
3030
// ResourceGroup.
31-
ResourceGroupConditionTypeCustomResourceDefinitionSynced ConditionType = "kro.aws.dev/CustomResourceDefinitionSynced"
31+
ResourceGroupConditionTypeCustomResourceDefinitionSynced ConditionType = "CustomResourceDefinitionSynced"
3232
// ResourceGroupConditionTypeReconcilerReady indicates the state of the reconciler.
3333
// Whenever an ResourceGroup resource is created, kro will spin up a
3434
// reconciler for that resource. This condition indicates the state of the
3535
// reconciler.
36-
ResourceGroupConditionTypeReconcilerReady ConditionType = "kro.aws.dev/ReconcilerReady"
36+
ResourceGroupConditionTypeReconcilerReady ConditionType = "ReconcilerReady"
3737
)
3838

3939
const (
40-
InstanceConditionTypeReady ConditionType = "kro.aws.dev/Ready"
40+
InstanceConditionTypeReady ConditionType = "Ready"
4141

4242
// Creating Deleting Migrating
43-
InstanceConditionTypeProgressing ConditionType = "kro.aws.dev/Progressing"
43+
InstanceConditionTypeProgressing ConditionType = "Progressing"
4444

4545
// Unexpected situation, behaviour, need human intervention
46-
InstanceConditionTypeDegraded ConditionType = "kro.aws.dev/Degraded"
46+
InstanceConditionTypeDegraded ConditionType = "Degraded"
4747

4848
// Something is wrong but i'm gonna try again
49-
InstanceConditionTypeError ConditionType = "kro.aws.dev/Error"
49+
InstanceConditionTypeError ConditionType = "Error"
5050
)
5151

5252
// Condition is the common struct used by all CRDs managed by ACK service

0 commit comments

Comments
 (0)