Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clair Init Container (PROJQUAY-1281) #362

Merged
merged 1 commit into from Nov 13, 2020

Conversation

alecmerdler
Copy link
Contributor

Issue: https://issues.redhat.com/browse/PROJQUAY-1281

Changelog: Use initContainer to wait until Clair is initialized before attempting config validation.

Docs: N/a

Testing: Create QuayRegistry and ensure upgrade pods do not enter CrashLoopBackoff from Clair.

Details: Previously, upgrade pods would enter CrashLoopBackoff when trying to perform config validation because Clair service takes several minutes to initialize and serve HTTP traffic. Fix this by blocking the main container from starting and attempting validation until Clair service responds.

@alecmerdler alecmerdler merged commit 2213e15 into quay:master Nov 13, 2020
@alecmerdler alecmerdler deleted the PROJQUAY-1281 branch November 13, 2020 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant