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

[feature] admissionwebhook支持namespace selector特性 #264

Closed
zmberg opened this issue Nov 15, 2019 · 0 comments
Closed

[feature] admissionwebhook支持namespace selector特性 #264

zmberg opened this issue Nov 15, 2019 · 0 comments
Assignees
Labels
confirmed issue is confirmed enhancement New feature or request feature new feature inner issue comes from Tencent side

Comments

@zmberg
Copy link
Contributor

zmberg commented Nov 15, 2019

feature相关背景与描述
当前的admissionwebhook默认会对所有的application或deployment资源进行回调处理。
这种处理方式在某些场景下不太灵活,新特性增加对于namespace selector的支持,允许用户定义哪些namespace生效,定义如下:

"namespaceSelector": {
        "operator": "In | NotIn",
        "values": ["defaultgroup","bcs-system"]
      }
  • namespaceSelector //namespace选择器,webhook只对选择器通过的资源生效
    • operator: selector操作,"In"表示在values的namespace中;"NotIn"表示不在values的namespace中。
    • values: namespace
@zmberg zmberg added the feature new feature label Nov 15, 2019
@DeveloperJim DeveloperJim assigned zmberg and unassigned DeveloperJim Nov 19, 2019
@DeveloperJim DeveloperJim added confirmed issue is confirmed enhancement New feature or request inner issue comes from Tencent side scheduler labels Nov 19, 2019
@DeveloperJim DeveloperJim added this to the 1.15.x功能迭代 milestone Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed issue is confirmed enhancement New feature or request feature new feature inner issue comes from Tencent side
Projects
None yet
Development

No branches or pull requests

2 participants