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 updateEntry for first domain len > 64 #164

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

MartinWeindel
Copy link
Member

@MartinWeindel MartinWeindel commented Mar 6, 2024

What this PR does / why we need it:
Fix for certificates without common name (if first domain name is longer than 64 characters). On updating existing source objects, the certificates the commonName was filled wrongly.
Additionally the hashcode calculation was wrong if common name was not filled.
Fix for new bug introduced with with #150.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Updating certificates from source objects (like Ingress or Service) with first domain name longer than 64 character failed, as the commonName field was filled. It must be left empty in this case.

@MartinWeindel MartinWeindel requested a review from a team as a code owner March 6, 2024 14:20
@gardener-robot gardener-robot added needs/review Needs review size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 6, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 6, 2024
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 6, 2024
@MartinWeindel MartinWeindel merged commit 226baf5 into master Mar 6, 2024
5 of 6 checks passed
@MartinWeindel MartinWeindel deleted the fix/update-entry-cn64 branch March 6, 2024 15:03
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants