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

notification: check certs exists for webhooks (PROJQUAY-2424) #886

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

kleesc
Copy link
Member

@kleesc kleesc commented Sep 10, 2021

Make sure the Quay key/cert pair (ssl.key + ssl.cert) have been
mounted/exists whenever it tries sending a webhook request with client
cert. If that's not the case, then the webhook is sent without client
cert. This can happen when TLS is not handled by the Quay container,
in which case these certs are not required by default in the Quay
container.

Make sure the Quay key/cert pair (ssl.key + ssl.cert) have been
mounted/exists whenever it tries sending a webhook request with client
cert. If that's not the case, then the webhook is sent without client
cert. This can happen when TLS is not handled by the Quay container,
in which case these certs are not required by default in the Quay
container.
Copy link
Contributor

@flavianmissi flavianmissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with a minor question about logging.

notifications/notificationmethod.py Show resolved Hide resolved
@kleesc kleesc merged commit a126ad0 into quay:master Sep 13, 2021
@kleesc kleesc deleted the webhook-check-client-certs-exists branch September 13, 2021 15:41
crozzy pushed a commit to crozzy/quay that referenced this pull request Sep 17, 2021
Make sure the Quay key/cert pair (ssl.key + ssl.cert) have been
mounted/exists whenever it tries sending a webhook request with client
cert. If that's not the case, then the webhook is sent without client
cert. This can happen when TLS is not handled by the Quay container,
in which case these certs are not required by default in the Quay
container.
kleesc added a commit to kleesc/quay that referenced this pull request Sep 22, 2021
Make sure the Quay key/cert pair (ssl.key + ssl.cert) have been
mounted/exists whenever it tries sending a webhook request with client
cert. If that's not the case, then the webhook is sent without client
cert. This can happen when TLS is not handled by the Quay container,
in which case these certs are not required by default in the Quay
container.
kleesc added a commit that referenced this pull request Sep 22, 2021
…900)

* notification: check certs exists for webhooks (PROJQUAY-2424) (#886)

Make sure the Quay key/cert pair (ssl.key + ssl.cert) have been
mounted/exists whenever it tries sending a webhook request with client
cert. If that's not the case, then the webhook is sent without client
cert. This can happen when TLS is not handled by the Quay container,
in which case these certs are not required by default in the Quay
container.

* ci: Update funcparserlib version (PROJQUAY-2520) (#893)

Updating funcparserlib to 1.0.0a0 fixes the issue initially addressed
in d3809b2.

* ci: pin oci test to a specific sha (PROJQUAY-2570)

This pins the distribution-spec repo to a specific sha
to prevent failing CI because of a change in the source test

Signed-off-by: harishsurf <hgovinda@redhat.com>

Co-authored-by: Harish Govindarajulu <hgovinda@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants