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 panic if target issuer referenced but not allowed #371

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

MartinWeindel
Copy link
Member

How to categorize this PR?

/kind bug

What this PR does / why we need it:
After introducing self-signed issuers (PR #228 ) a regression bug was introduced if a certificate references a target issuer (shoot issuer) but target issuer are not allowed by command-line option --allow-target-issuer=false.

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

Release note:

Fix panic if target issuer referenced but not allowed

@gardener-prow gardener-prow bot added kind/bug Bug cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. labels Nov 29, 2024
@gardener-prow gardener-prow bot requested a review from marc1404 November 29, 2024 08:46
@gardener-prow gardener-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 29, 2024
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Nov 29, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 added 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 Nov 29, 2024
Copy link
Member

@marc1404 marc1404 left a comment

Choose a reason for hiding this comment

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

/lgtm

Thank you! 🙏

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Nov 29, 2024
Copy link

gardener-prow bot commented Nov 29, 2024

LGTM label has been added.

Git tree hash: b1f92ad8a394e262e15b5c621221f6e606d29c96

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 29, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Nov 29, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Nov 29, 2024
@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 29, 2024
@gardener-prow gardener-prow bot requested a review from marc1404 November 29, 2024 08:53
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Nov 29, 2024
Copy link
Member

@marc1404 marc1404 left a comment

Choose a reason for hiding this comment

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

/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Nov 29, 2024
Copy link

gardener-prow bot commented Nov 29, 2024

LGTM label has been added.

Git tree hash: 31cf5b9b7ceca10371f13c0626ffb6ffa8aa24a0

Copy link

gardener-prow bot commented Nov 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marc1404

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-robot-ci-2 gardener-robot-ci-2 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 Nov 29, 2024
@gardener-prow gardener-prow bot merged commit 7ad639e into master Nov 29, 2024
11 checks passed
@marc1404 marc1404 deleted the fix/target-issuer-not-allowed branch November 29, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/bug Bug lgtm Indicates that a PR is ready to be merged. needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants