mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 19:36:22 +00:00
Automatic merge from submit-queue (batch tested with PRs 58547, 57228, 58528, 58499, 58618). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. pass down runtime-config through apiserver chain **What this PR does / why we need it**: >kube-apiserver is actually a delegation chain of aggregator+kube+apiextensions. Let's pass down runtime-config through the chain, each layer removing the groups it knows about. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #57189 **Special notes for your reviewer**: make a new pkg `k8s.io/apiserver/pkg/server/resourceconfig`, and 1. move resourceconfig related code to it. 2. abstract generic used function `MergeAPIResourceConfigs`, put it here. **Release note**: ```release-note NONE ```