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
Add a mutating admission plugin which add labels for extension types specified in the Spec
of the objects
#5472
Merged
rfranzke
merged 7 commits into
gardener:master
from
shafeeqes:enhancement/AdmissionWebhooks
Mar 2, 2022
Merged
Add a mutating admission plugin which add labels for extension types specified in the Spec
of the objects
#5472
rfranzke
merged 7 commits into
gardener:master
from
shafeeqes:enhancement/AdmissionWebhooks
Mar 2, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gardener-robot
added
kind/api-change
API change with impact on API users
needs/second-opinion
area/robustness
Robustness, reliability, resilience related
kind/enhancement
Enhancement, improvement, extension
size/XL
Denotes a PR that changes 500-999 lines, ignoring generated files.
labels
Feb 22, 2022
shafeeqes
force-pushed
the
enhancement/AdmissionWebhooks
branch
from
February 22, 2022 07:40
d2f1125
to
20733cb
Compare
shafeeqes
changed the title
Add a mutating webhook which add labels for extension types specified in the Spec of the objects
Add a mutating webhook which add labels for extension types specified in the Feb 22, 2022
Spec
of the objects
shafeeqes
force-pushed
the
enhancement/AdmissionWebhooks
branch
from
February 22, 2022 07:46
20733cb
to
e13d272
Compare
rfranzke
changed the title
Add a mutating webhook which add labels for extension types specified in the
Add a mutating admission plugin which add labels for extension types specified in the Feb 22, 2022
Spec
of the objectsSpec
of the objects
shafeeqes
force-pushed
the
enhancement/AdmissionWebhooks
branch
from
February 22, 2022 09:35
e13d272
to
b4e57a0
Compare
/test all |
/assign |
rfranzke
requested changes
Feb 23, 2022
timebertt
reviewed
Feb 23, 2022
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.
A release note is probably a good idea as well :)
Is this order fine? 9cbf143 |
rfranzke
reviewed
Mar 2, 2022
shafeeqes
force-pushed
the
enhancement/AdmissionWebhooks
branch
from
March 2, 2022 09:32
9cbf143
to
beb7edd
Compare
rfranzke
reviewed
Mar 2, 2022
rfranzke
approved these changes
Mar 2, 2022
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
This was referenced Mar 3, 2022
krgostev
pushed a commit
to krgostev/gardener
that referenced
this pull request
Apr 21, 2022
…specified in the `Spec` of the objects (gardener#5472) * Minor cosmetics * Add a mutating admission plugin for adding extension labels * Address review comments from rfranzke * Minor edits * Add extension-admission doc * Address review comments from rfranzke * Address review comments from rfranzke
krgostev
pushed a commit
to krgostev/gardener
that referenced
this pull request
Jul 5, 2022
…specified in the `Spec` of the objects (gardener#5472) * Minor cosmetics * Add a mutating admission plugin for adding extension labels * Address review comments from rfranzke * Minor edits * Add extension-admission doc * Address review comments from rfranzke * Address review comments from rfranzke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/robustness
Robustness, reliability, resilience related
kind/api-change
API change with impact on API users
kind/enhancement
Enhancement, improvement, extension
size/XL
Denotes a PR that changes 500-999 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
How to categorize this PR?
/area robustness
/kind enhancement
What this PR does / why we need it:
This PR introduces a new mutating admission pllugin which add labels for all the extension types specified in the spec of the objects (
Seed
s,Shoot
s,CloudProfile
s,BackupBucket
s,BackupEntry
s). This would allow the extension admission webhooks to filter out the resources they are responsible for and ignore all others.Which issue(s) this PR fixes:
Fixes part of #4932
Special notes for your reviewer:
cc @rfranzke
Release note: