diff --git a/controllers/bucket_controller.go b/controllers/bucket_controller.go index 80f99e6ff..46a6bc64b 100644 --- a/controllers/bucket_controller.go +++ b/controllers/bucket_controller.go @@ -75,23 +75,23 @@ var bucketReadyCondition = summarize.Conditions{ Target: meta.ReadyCondition, Owned: []string{ sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.ReadyCondition, meta.ReconcilingCondition, meta.StalledCondition, }, Summarize: []string{ sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, NegativePolarity: []string{ sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, diff --git a/controllers/gitrepository_controller.go b/controllers/gitrepository_controller.go index 6161d0412..7aa49a1ad 100644 --- a/controllers/gitrepository_controller.go +++ b/controllers/gitrepository_controller.go @@ -61,9 +61,9 @@ var gitRepositoryReadyCondition = summarize.Conditions{ Owned: []string{ sourcev1.SourceVerifiedCondition, sourcev1.FetchFailedCondition, + sourcev1.StorageOperationFailedCondition, sourcev1.IncludeUnavailableCondition, sourcev1.ArtifactOutdatedCondition, - sourcev1.StorageOperationFailedCondition, meta.ReadyCondition, meta.ReconcilingCondition, meta.StalledCondition, @@ -72,16 +72,16 @@ var gitRepositoryReadyCondition = summarize.Conditions{ sourcev1.IncludeUnavailableCondition, sourcev1.SourceVerifiedCondition, sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, NegativePolarity: []string{ sourcev1.FetchFailedCondition, sourcev1.IncludeUnavailableCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, diff --git a/controllers/helmchart_controller.go b/controllers/helmchart_controller.go index 5e9d5b2b8..d6c2e4e11 100644 --- a/controllers/helmchart_controller.go +++ b/controllers/helmchart_controller.go @@ -71,8 +71,8 @@ var helmChartReadyCondition = summarize.Conditions{ Owned: []string{ sourcev1.BuildFailedCondition, sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.ReadyCondition, meta.ReconcilingCondition, meta.StalledCondition, @@ -80,16 +80,16 @@ var helmChartReadyCondition = summarize.Conditions{ Summarize: []string{ sourcev1.BuildFailedCondition, sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, NegativePolarity: []string{ sourcev1.BuildFailedCondition, sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, diff --git a/controllers/helmrepository_controller.go b/controllers/helmrepository_controller.go index 82bae2ac5..1a2c3087a 100644 --- a/controllers/helmrepository_controller.go +++ b/controllers/helmrepository_controller.go @@ -58,23 +58,23 @@ var helmRepositoryReadyCondition = summarize.Conditions{ Target: meta.ReadyCondition, Owned: []string{ sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.ReadyCondition, meta.ReconcilingCondition, meta.StalledCondition, }, Summarize: []string{ sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, }, NegativePolarity: []string{ sourcev1.FetchFailedCondition, - sourcev1.ArtifactOutdatedCondition, sourcev1.StorageOperationFailedCondition, + sourcev1.ArtifactOutdatedCondition, meta.StalledCondition, meta.ReconcilingCondition, },