Skip to content

Commit

Permalink
example: match duration unmarshal
Browse files Browse the repository at this point in the history
as described in #95,
given that the unmarshalling that source-controller performs doesn't
match what we're trying to submit, we end up forcing reconciliation to
happen over and over again (better described in the issue).

now that we make use of informers rather than a 5s polling interval, the
issue becomes even more apparent.

ultimately we should figure out #95, but for now, this fix prevents a
big unecessary reconciliation load.

Signed-off-by: Ciro S. Costa <ciroscosta@vmware.com>
  • Loading branch information
Ciro S. Costa committed Nov 10, 2021
1 parent d3f3dbf commit 93d4be0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
metadata:
name: $(workload.metadata.name)$
spec:
interval: 1m
interval: 1m0s
url: $(workload.spec.source.git.url)$
ref: $(workload.spec.source.git.ref)$
gitImplementation: libgit2
Expand Down

0 comments on commit 93d4be0

Please sign in to comment.