-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
⚠ (:warning:, major) Do not disable admission plugins by default #848
⚠ (:warning:, major) Do not disable admission plugins by default #848
Conversation
/assign @mengqiy @DirectXMan12 @vincepri /hold for 0.6 |
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.
/approve
/lgtm
nit inline
@@ -9,7 +9,7 @@ var APIServerDefaultArgs = []string{ | |||
"--insecure-port={{ if .URL }}{{ .URL.Port }}{{ end }}", | |||
"--insecure-bind-address={{ if .URL }}{{ .URL.Hostname }}{{ end }}", | |||
"--secure-port={{ if .SecurePort }}{{ .SecurePort }}{{ end }}", | |||
"--disable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,PersistentVolumeClaimResize,ResourceQuota", //nolint | |||
"--disable-admission-plugins=ServiceAccount", //nolint |
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.
can we remove the // nolint
?
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.
yes! :) thank you
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alenkacz, DirectXMan12 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 |
4040b01
to
bb3b4e5
Compare
bb3b4e5
to
b908ef1
Compare
@DirectXMan12 fixed, I also added comment |
/lgtm |
/hold cancel |
If we enable ServiceAccount plugin, tests fail with this error. That is because controller normally takes care of creating default service account but that controller is not running in the integration environment.
We either keep that disabled by default or envtest would have to create that SA for the users? Otherwise all users would have to create that SA which I think is not desired.