We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fff2fd commit bd08fdeCopy full SHA for bd08fde
1 file changed
internal/controller/kustomization_indexers.go
@@ -57,9 +57,10 @@ func (r *KustomizationReconciler) requestsForRevisionChangeOf(indexKey string) h
57
}
58
var dd []dependency.Dependent
59
for i, d := range list.Items {
60
- // If the Kustomization is ready and the revision of the artifact equals
+ // If the Kustomization is ready or reconciling and the revision of the artifact equals
61
// to the last attempted revision, we should not make a request for this Kustomization
62
- if conditions.IsReady(&list.Items[i]) && repo.GetArtifact().HasRevision(d.Status.LastAttemptedRevision) {
+ if (conditions.IsReady(&list.Items[i]) || conditions.IsReconciling(&list.Items[i])) &&
63
+ repo.GetArtifact().HasRevision(d.Status.LastAttemptedRevision) {
64
continue
65
66
dd = append(dd, d.DeepCopy())
0 commit comments