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

Stream policy updates to GRPC clients #556

Merged
merged 2 commits into from Sep 23, 2022

Conversation

wazir-ahmed
Copy link
Contributor

  • Added new GPRC service to stream policy updates
  • The service will stream both KubeArmor and Cilium policy updates.

@wazir-ahmed wazir-ahmed changed the title Stream policy Stream policy updates to GRPC clients Sep 16, 2022
@wazir-ahmed wazir-ahmed force-pushed the stream-policy branch 2 times, most recently from 57bbeea to 5affa3a Compare September 16, 2022 10:57
Copy link
Contributor

@seswarrajan seswarrajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Signed-off-by: Wazir Ahmed <wazir@accuknox.com>
Copy link
Contributor

@seswarrajan seswarrajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @nyrahul Please provide your comments.

@seswarrajan
Copy link
Contributor

@wazir-ahmed
Please remove lines as well, since the cluster_name and container_name is removed from source.
https://github.com/kubearmor/discovery-engine/blob/797e6b4fbd027ef0938a9d5a4ec6b9c26c9cd9be/src/systempolicy/systemPolicy.go#L326

@wazir-ahmed
Copy link
Contributor Author

@wazir-ahmed Please remove lines as well, since the cluster_name and container_name is removed from source.

https://github.com/kubearmor/discovery-engine/blob/797e6b4fbd027ef0938a9d5a4ec6b9c26c9cd9be/src/systempolicy/systemPolicy.go#L326

@seswarrajan Fixed this as well.

Copy link
Contributor

@nyrahul nyrahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Few minor comments.

src/networkpolicy/consumer.go Outdated Show resolved Hide resolved
src/libs/consumer.go Outdated Show resolved Hide resolved
src/protobuf/v1/discovery/discovery.proto Outdated Show resolved Hide resolved
Signed-off-by: Wazir Ahmed <wazir@accuknox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants