DataDog / agent-payload

Payload format description for communication between the agent and the Datadog backend
BSD 3-Clause "New" or "Revised" License
21 stars 19 forks source link

Add NetworkPolicy protobuf definition #290

Closed aureleoules closed 9 months ago

aureleoules commented 9 months ago

What does this PR do?

This pull request adds the protobuf structure of the kubernetes resource "NetworkPolicy" and adds the associated generated code.

Motivation

This pull request will allow generating the necessary models for the cluster-agent to collect the NetworkPolicy kubernetes resource.

Additional Notes

I have split the manually changed code in the first commit and the generated code in the second commit for easier review.

Describe how to test/QA your changes

Running rake codegen should not produce any new changes in the pr branch.

Reviewer's Checklist

Reviewers: please see the review guidelines.