-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check Flux sources for artifact to avoid spamming the log (#359)
* Check for an artifact in Flux sources When a Stack refers to a Flux source, we check the latter for a `Ready` condition, and if present and false, bail on reconciliation until it gets requeued by the watch mechanism. A flaw in this is that a new source will have no Ready condition (true or false), so the controller will continue, only to find there's no record of what it should download. Instead of gracefully parking itself, it bounces off this until the source has been seen by the source-controller. So: check that there's an artifact. * Use github.com/fluxcd/pkg/http/fetch This obviates a bunch of my own code (and is a bit more careful with buffers). * Add changelog entry Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
- Loading branch information
Showing
6 changed files
with
79 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters