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

fix: ensure certificate gets updated on reload (cherry-pick #12076) #12696

Merged
merged 1 commit into from Mar 2, 2023

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked fix: ensure certificate gets updated on reload (#12076)

  • fix: ensure certificate gets updated on reload

Fixes #10707. GetCertificate ensures that the most current version of
a.settings.Certificate is used. It's still a bit of a mystery to me
as to why the reloading of the server does not work for this, since it
should fulfill the same function.

Signed-off-by: Blake Pettersson blake.pettersson@gmail.com

  • fix: remove break from cert changes

With 3553ef8, there's no longer any need to break out of the loop. The
webhook reloading logic needs another look (since it likely no longer
works), but can be handled in another PR.

Signed-off-by: Blake Pettersson blake.pettersson@gmail.com


Signed-off-by: Blake Pettersson blake.pettersson@gmail.com

* fix: ensure certificate gets updated on reload

Fixes #10707. `GetCertificate` ensures that the most current version of
 `a.settings.Certificate` is used. It's still a bit of a mystery to me
 as to why the reloading of the server does not work for this, since it
 should fulfill the same function.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>

* fix: remove break from cert changes

With 3553ef8, there's no longer any need to break out of the loop. The
webhook reloading logic needs another look (since it likely no longer
works), but can be handled in another PR.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>

---------

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
@crenshaw-dev crenshaw-dev merged commit 85d1c0f into release-2.6 Mar 2, 2023
@crenshaw-dev crenshaw-dev deleted the cherry-pick-4a1bd6-release-2.6 branch March 2, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants