diff --git a/api/v1beta2/condition_types.go b/api/v1beta2/condition_types.go index 955df10e..c1ea8b5c 100644 --- a/api/v1beta2/condition_types.go +++ b/api/v1beta2/condition_types.go @@ -19,14 +19,14 @@ package v1beta2 const SourceFinalizer = "finalizers.fluxcd.io" const ( - // ArtifactUnavailableCondition indicates there is no Artifact available for the Source. - // This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True. - ArtifactUnavailableCondition string = "ArtifactUnavailable" - // ArtifactOutdatedCondition indicates the current Artifact of the Source is outdated. // This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True. ArtifactOutdatedCondition string = "ArtifactOutdated" + // SourceVerifiedCondition indicates the integrity of the Source has been verified. If True, the integrity check + // succeeded. If False, it failed. The Condition is only present on the resource if the integrity has been verified. + SourceVerifiedCondition string = "SourceVerified" + // FetchFailedCondition indicates a transient or persistent fetch failure of an upstream Source. // If True, observations on the upstream Source revision may be impossible, and the Artifact available for the // Source may be outdated. @@ -48,8 +48,4 @@ const ( // AuthenticationFailedReason represents the fact that a given secret does not // have the required fields or the provided credentials do not match. AuthenticationFailedReason string = "AuthenticationFailed" - - // VerificationFailedReason represents the fact that the cryptographic - // provenance verification for the source failed. - VerificationFailedReason string = "VerificationFailed" ) diff --git a/api/v1beta2/gitrepository_types.go b/api/v1beta2/gitrepository_types.go index 8238dce7..0b87ff81 100644 --- a/api/v1beta2/gitrepository_types.go +++ b/api/v1beta2/gitrepository_types.go @@ -36,10 +36,6 @@ const ( ) const ( - // SourceVerifiedCondition indicates the integrity of the Source has been verified. If True, the integrity check - // succeeded. If False, it failed. The Condition is only present on the resource if the integrity has been verified. - SourceVerifiedCondition string = "SourceVerified" - // IncludeUnavailableCondition indicates one of the includes is not available. For example, because it does not // exist, or does not have an Artifact. // This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True.