-
Notifications
You must be signed in to change notification settings - Fork 558
Use enable-admission-plugins key for v1.10 and above #3090
Conversation
/assign @CecileRobertMichon |
@CecileRobertMichon you and I spoke about this briefly during sync week. |
admissionControlKey := "--enable-admission-plugins" | ||
var admissionControlValues string | ||
|
||
// --admission-control was used in v1.9 and earlier and was deprecated in 1.10 |
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.
this looks to me like it's doing the opposite of what the comment says
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.
sorry missed the !
please disregard my comment
Codecov Report
@@ Coverage Diff @@
## master #3090 +/- ##
==========================================
+ Coverage 51.5% 51.54% +0.04%
==========================================
Files 99 99
Lines 15036 15049 +13
==========================================
+ Hits 7744 7757 +13
Misses 6582 6582
Partials 710 710
Continue to review full report at Codecov.
|
@CecileRobertMichon This PR also sets Does |
Also note the addition of |
/approve Added docs |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis 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 |
Thanks @billpratt! |
@jackfrancis Does |
@billpratt Can you kindly track the progress of the pathological behaviors of https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages (Of course this is all user-configurable but our defaults add value to users) |
What this PR does / why we need it:
In k8s v1.10, the
--admission-control
flag was deprecated and replaced with--enable-admission-plugins
. This PR uses the new flag for v1.10.v1.10 release notes:
More details:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
If applicable:
Release note: