@@ -57,6 +57,10 @@ const (
57
57
// For more information about polarity patterns, see:
58
58
// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
59
59
ReconcilingCondition string = "Reconciling"
60
+
61
+ // HealthyCondition represents the last recorded
62
+ // health assessment result.
63
+ HealthyCondition string = "Healthy"
60
64
)
61
65
62
66
// These constants define generic Condition reasons to be used by GitOps Toolkit components.
@@ -120,6 +124,30 @@ const (
120
124
// UnsupportedConnectionTypeReason signals a failure caused by
121
125
// the use of unsupported network protocols.
122
126
UnsupportedConnectionTypeReason = "UnsupportedConnectionType"
127
+
128
+ // PruneFailedReason represents the fact that the
129
+ // pruning of the resources failed.
130
+ PruneFailedReason string = "PruneFailed"
131
+
132
+ // ArtifactFailedReason represents the fact that the
133
+ // source artifact download failed.
134
+ ArtifactFailedReason string = "ArtifactFailed"
135
+
136
+ // BuildFailedReason represents the fact that the
137
+ // build failed.
138
+ BuildFailedReason string = "BuildFailed"
139
+
140
+ // HealthCheckFailedReason represents the fact that
141
+ // one of the health checks failed.
142
+ HealthCheckFailedReason string = "HealthCheckFailed"
143
+
144
+ // ReconciliationSucceededReason represents the fact that
145
+ // the reconciliation succeeded.
146
+ ReconciliationSucceededReason string = "ReconciliationSucceeded"
147
+
148
+ // ReconciliationFailedReason represents the fact that
149
+ // the reconciliation failed.
150
+ ReconciliationFailedReason string = "ReconciliationFailed"
123
151
)
124
152
125
153
// ObjectWithConditions describes a Kubernetes resource object with status conditions.
0 commit comments