-
Notifications
You must be signed in to change notification settings - Fork 526
Write seed-specific Shoot
endpoint served with the control plane wildcard certificate into .status.advertisedAddresses
#11612
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
Write seed-specific Shoot
endpoint served with the control plane wildcard certificate into .status.advertisedAddresses
#11612
Conversation
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this usability improvement. It will certainly make some users quite happy.
Overall, it looks good already. I only have a minor suggestion with regards to the documentation.
This code only works under the assumption that the signing CA of the certificate is the same as the one for the server. This was introduced 3y ago with gardener@039631f when this was the case for Shoots. Since a longer time, however, we have introduced a dedicated client CA for shoots, i.e., this defaulting never works in our case. Let's remove it and rely on the CA data being properly provided via the `KubeConfigRequest` struct.
4cff3e6
to
d37c02b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
LGTM label has been added. Git tree hash: 64cc51f557880b118ac491e416ec429e155fc1f4
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ScheererJ 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 |
How to categorize this PR?
/area usability
/kind enhancement
What this PR does / why we need it:
This PR write the seed-specific
Shoot
endpoint served with the control plane wildcard certificate into.status.advertisedAddresses
. This only works when such a control plane wildcard certificate is configure by the Gardener operator, i.e., when there is aSecret
in thegarden
namespace of the seed cluster labeled withgardener.cloud/role=controlplane-cert
.Before:
Now:
Generated kubeconfigs also get this endpoint via a new
Cluster
entry:Release note: