Skip to content
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

may add admission-control attribute to set admission #23

Open
lxd5866 opened this issue Nov 29, 2021 · 3 comments
Open

may add admission-control attribute to set admission #23

lxd5866 opened this issue Nov 29, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lxd5866
Copy link

lxd5866 commented Nov 29, 2021

code example:

WorkingDirectory={{k8s_install_home}}/kubernetes/kube-apiserver
ExecStart=/usr/local/bin/kube-apiserver \
--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook \
--feature-gates=ExpandInUsePersistentVolumes=true \
--advertise-address={{ip}} \
--bind-address=0.0.0.0 \
--insecure-bind-address=127.0.0.1 \

the MutatingAdmissionWebhook,ValidatingAdmissionWebhook is useful and commonly used, but it is not set default.
i know it may not nessery for everyone, but when you need use it, you need edit source code in kube-install/sys/0x00000000master/apiserver/templates/kube-apiserver.service-1.xx.j2, it difficult to update.

@houseonline
Copy link
Collaborator

houseonline commented Dec 1, 2021

Yes, we can consider dealing with this requirement in v0.7.4.
The new v0.7.4 and above will also add functions such as web account security, which you can follow and use at that time.

@houseonline houseonline added enhancement New feature or request help wanted Extra attention is needed labels Dec 1, 2021
@lxd5866
Copy link
Author

lxd5866 commented Dec 1, 2021

i may commit for this requirement if i have time ,

@houseonline
Copy link
Collaborator

kube-install v0.7.4 has been officially released and you can start using it !
@lxd5866 See the link below for details:
https://github.com/cloudnativer/kube-install/releases/tag/v0.7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants