Skip to content

Fix/verify shoot ca binding - #424

Draft
julestree wants to merge 9 commits into
masterfrom
fix/verify-shoot-ca-binding
Draft

julestree wants to merge 9 commits into
masterfrom
fix/verify-shoot-ca-binding

Conversation

@julestree

@julestree julestree commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

How to categorize this PR?

/area security
/kind enhancement

What this PR does / why we need it:
This PR introduces a check for the CA certificates used by kubectl to make sure they are legitamate shoot CAs. It also makes sure that CAs are verified correctly during the rotation process.

The new code requires kubectl to provide the cluster information. By doing so we remove the support for kubectl versions older than 1.20 which don't provide this info.
This PR also adds a build flag insecureAllowArgumentOnly which allows the CA check to be bypassed. This can be useful for debugging and running things locally.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

TODO

…ation logic

Signed-off-by: julestree <julia.baum@sap.com>
…URLs

Signed-off-by: julestree <julia.baum@sap.com>
Now we prevent credentials from being issued without verified cluster transport settings, but we still keep the legacy behavior behind the build flag insecureAllowArgumentOnly

Signed-off-by: julestree <julia.baum@sap.com>
Signed-off-by: julestree <julia.baum@sap.com>
Signed-off-by: julestree <julia.baum@sap.com>
Signed-off-by: julestree <julia.baum@sap.com>
Signed-off-by: julestree <julia.baum@sap.com>
Signed-off-by: julestree <julia.baum@sap.com>
Signed-off-by: julestree <julia.baum@sap.com>
@gardener-prow

gardener-prow Bot commented Nov 6, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@gardener-prow gardener-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 6, 2026
@gardener-prow

gardener-prow Bot commented Nov 6, 2026

Copy link
Copy Markdown

@julestree: The label(s) area/todo, kind/todo cannot be applied, because the repository doesn't have them.

Details

In response to this:

How to categorize this PR?

/area TODO
/kind TODO

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@gardener-prow

gardener-prow Bot commented Nov 6, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign chrisstiefel for approval. For more information see the Code Review Process.

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

Details 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-prow gardener-prow Bot added the do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. label Nov 6, 2026
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@gardener-prow gardener-prow Bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant