How to confirm S3 bucket reconciliation #5645
Unanswered
danieljamesscott
asked this question in
General
Replies: 1 comment 8 replies
-
|
S3 is strongly consistent: all reads after a successful write will see the result of the write. So after writing all objects to the bucket you can trigger a reconciliation of the Flux https://github.com/fluxcd/flux2/blob/main/cmd/flux/reconcile_source_bucket.go |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are managing resources in an S3 bucket using a process which runs externally to our k8s cluster and are looking for a way to confirm that reconciliation has completed.
Is there a way to confirm that flux has reconciled the bucket contents using the event data that the source controller emits? I can see a
digestandrevisionwhich is calculated using a list of objects and their etags - do I need to duplicate this logic myself? It looks like this code is in an internal package, so I can't re-use it.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions