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

Support sub-push CRD with LabelKVs scope | 支持 label 范围的 CRD 订阅推送机制 #25

Open
jnan806 opened this issue Nov 10, 2022 · 0 comments
Labels
kind/feature Category issues or PRs related to feature request.

Comments

@jnan806
Copy link
Collaborator

jnan806 commented Nov 10, 2022

Support sub-push CRD with LabelKVs scope


当前 控制面 与 SDK 的 订阅/推送 机制中,SubscribeTarget 中的 SubscribeLabelKVs 不生效,因此仅支持 Namespace-App-Kind 订阅组范围内的数据推送,即当 同一个 Namespace-App-Kind 范围内中 任意一个 CRD 资源对象发生变动时,都会触发 推送动作,推送的数据是 整个 Namespace-App-Kind 订阅组范围内的 CRD 资源对象。

实现目标是,SubscribeTarget 中的 SubscribeLabelKVs 启用生效生效,即在 Namespace-App-Kind 订阅组范围的基础上,精确到 LabelKVs 标签组范围内的数据推送,即当 同一个 Namespace-App-Kind 范围内,同时匹配多个 label 的 CRD 资源对象发生变动时,触发对应的推送动作,推送的数据是 Namespace-App-Kind 范围基础上,同时匹配指定的 label 的 CRD 资源对象。

@jnan806 jnan806 added kind/enhancement Category issues or PRs related to enhancement. kind/feature Category issues or PRs related to feature request. and removed kind/enhancement Category issues or PRs related to enhancement. labels Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Category issues or PRs related to feature request.
Projects
None yet
Development

No branches or pull requests

1 participant