Skip to content

Commit 1b1b41e

Browse files
Wei WengWei Weng
authored andcommitted
remove one unintentional change and remove owner ref check for other resources
Signed-off-by: Wei Weng <[email protected]>
1 parent f32a292 commit 1b1b41e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

charts/hub-agent/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documen
4040
| `logFileMaxSize` | Max log file size before rotation | `1000000` |
4141
| `MaxFleetSizeSupported` | Max number of member clusters supported | `100` |
4242
| `resourceSnapshotCreationMinimumInterval` | The minimum interval at which resource snapshots could be created. | `30s` |
43+
| `resourceChangesCollectionDuration` | The duration for collecting resource changes into one snapshot. | `15s` |
4344
| `disablePodValidatingWebhook` | Disable Pod validating webhook (allows standalone pods to be propagated) | `false` |
4445
| `disableReplicaSetValidatingWebhook` | Disable ReplicaSet validating webhook (allows standalone replicasets to be propagated) | `false` |

pkg/utils/common.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -559,13 +559,6 @@ func ShouldPropagateObj(informerManager informer.Manager, uObj *unstructured.Uns
559559
return false, nil
560560
}
561561
}
562-
563-
// For all other resources, skip if they have ownerReferences
564-
// This handles resources managed by controllers (e.g., Jobs created by CronJobs, etc.)
565-
if len(uObj.GetOwnerReferences()) > 0 {
566-
return false, nil
567-
}
568-
569562
return true, nil
570563
}
571564

0 commit comments

Comments
 (0)