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

[v1.16.3] Sync with upstream #38

Merged
merged 17 commits into from
Jan 27, 2025
Merged

[v1.16.3] Sync with upstream #38

merged 17 commits into from
Jan 27, 2025

Conversation

taraspos
Copy link

@taraspos taraspos commented Jan 24, 2025

Summary

Sync cert manager with latest v1.16.3.

git fetch
git checkout -b "taras/v1.16.3"
git reset --hard v1.16.3  
git merge origin teleport

Re-generate files and test:

make generate-all test

This release contains mostly dependency updates, etc. There were no conflicts whatsoever.

Diff with upstream: cert-manager/cert-manager@v1.16.3...gravitational:cert-manager:taras/v1.16.3

Issue to pay attention to:

SgtCoDFish and others added 17 commits October 15, 2024 15:12
…6-dns

[release-1.16] add IPv6 example for recursive DNS arg
Includes a lot of comments explaining how the maxima were calculated.
This is _very_ conservative, and assumes we're dealing with RSA keys
twice the size of what we actually allow as a maximum.

From running the included benchmark it seems the pathological runtime is
about 13617196ns (13ms) on an M2 Max which seems acceptable.

Signed-off-by: Ashley Davis <[email protected]>
…-inputs

[release-1.16] Restrict max size of PEM inputs
Setting renewBeforePercentage to x now makes the certificate renew when there is x percent of its duration left *before* its expiry.
For example, if the validity duration of a certificate is 180 minutes, and renewBeforePercentage is set to 25, the certificate will renew after 135 minutes, i.e. when there is 25% of its
duration left.
This now means the behaviour is in accordance with the spec of renewBeforePercentage.
Before this patch, the behaviour was reversed, whereby the certificate would renew *after* x percent of its duration, not *before*. For example, for a certificate valid for 180 minutes, it
would renew after 45 minutes.

Signed-off-by: Adam Sroka <[email protected]>
…k-7421-to-release-1.16

[release-1.16] Fix renewBeforePercentage to comply with its spec
[release-1.16] Bump go to 1.23.4 and bump base images to latest available
@taraspos taraspos marked this pull request as ready for review January 24, 2025 18:09
@taraspos taraspos merged commit 181eb7f into teleport Jan 27, 2025
5 checks passed
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.

5 participants