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

Add NetworkPolicy protobuf definition #290

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Conversation

aureleoules
Copy link
Member

@aureleoules aureleoules commented Feb 15, 2024

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.

@aureleoules aureleoules merged commit d9ff659 into master Feb 21, 2024
7 checks passed
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Apr 9, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/DataDog/agent-payload/v5](https://github.com/DataDog/agent-payload)
| `v5.0.104` -> `v5.0.111` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.104/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.104/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/datadog-api-client-go/v2](https://github.com/DataDog/datadog-api-client-go)
| `v2.22.0` -> `v2.24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.22.0/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.22.0/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>DataDog/agent-payload
(github.com/DataDog/agent-payload/v5)</summary>

###
[`v5.0.111`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.111):
[CWS] Udpate the CWS proto for the security profiles sliding window
purpose

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.110...v5.0.111)

This new proto version update the security profile proto, deprecating
some fields and adding the version contexts

PR needed for the [related work on security profile sliding
window](https://github.com/DataDog/datadog-agent/pull/20506)

#### What's Changed

- \[CWS] Udpate the CWS proto for the security profiles sliding window
purpose by [@&#8203;spikat](https://github.com/spikat) in
[https://github.com/DataDog/agent-payload/pull/292](https://github.com/DataDog/agent-payload/pull/292)

#### New Contributors

- [@&#8203;spikat](https://github.com/spikat) made their first
contribution in
[https://github.com/DataDog/agent-payload/pull/292](https://github.com/DataDog/agent-payload/pull/292)

**Full Changelog**:
DataDog/agent-payload@v5.0.110...v5.0.111

###
[`v5.0.110`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.110)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.109...v5.0.110)

#### What's Changed

- add TypeCollectorECSTask by
[@&#8203;kangyili](https://github.com/kangyili) in
[https://github.com/DataDog/agent-payload/pull/296](https://github.com/DataDog/agent-payload/pull/296)

**Full Changelog**:
DataDog/agent-payload@v5.0.109...v5.0.110

###
[`v5.0.109`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.109)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.108...v5.0.109)

#### What's Changed

- cronjob status: add lastSuccessfultime by
[@&#8203;aureleoules](https://github.com/aureleoules) in
[https://github.com/DataDog/agent-payload/pull/295](https://github.com/DataDog/agent-payload/pull/295)

**Full Changelog**:
DataDog/agent-payload@v5.0.108...v5.0.109

###
[`v5.0.108`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.108)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.107...v5.0.108)

#### What's Changed

- Add repo digest field to container payload by
[@&#8203;badovm](https://github.com/badovm) in
[https://github.com/DataDog/agent-payload/pull/293](https://github.com/DataDog/agent-payload/pull/293)
- ecs task lifecycle event by
[@&#8203;kangyili](https://github.com/kangyili) in
[https://github.com/DataDog/agent-payload/pull/282](https://github.com/DataDog/agent-payload/pull/282)
- add ecs task payload by
[@&#8203;kangyili](https://github.com/kangyili) in
[https://github.com/DataDog/agent-payload/pull/281](https://github.com/DataDog/agent-payload/pull/281)

#### New Contributors

- [@&#8203;badovm](https://github.com/badovm) made their first
contribution in
[https://github.com/DataDog/agent-payload/pull/293](https://github.com/DataDog/agent-payload/pull/293)

**Full Changelog**:
DataDog/agent-payload@v5.0.107...v5.0.108

###
[`v5.0.107`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.107)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.106...v5.0.107)

**Full Changelog**:
DataDog/agent-payload@v5.0.106...v5.0.107

#### What's Changed

- Add repo digest field to container payload by
[@&#8203;badovm](https://github.com/badovm) in
[https://github.com/DataDog/agent-payload/pull/293](https://github.com/DataDog/agent-payload/pull/293)

#### New Contributors

- [@&#8203;badovm](https://github.com/badovm) made their first
contribution in
[https://github.com/DataDog/agent-payload/pull/293](https://github.com/DataDog/agent-payload/pull/293)

**Full Changelog**:
DataDog/agent-payload@v5.0.106...v5.0.107

###
[`v5.0.106`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.106)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.105...v5.0.106)

#### What's Changed

- Add TRACE HTTP method to process payload by
[@&#8203;vitkyrka](https://github.com/vitkyrka) in
[https://github.com/DataDog/agent-payload/pull/291](https://github.com/DataDog/agent-payload/pull/291)

#### New Contributors

- [@&#8203;vitkyrka](https://github.com/vitkyrka) made their first
contribution in
[https://github.com/DataDog/agent-payload/pull/291](https://github.com/DataDog/agent-payload/pull/291)

**Full Changelog**:
DataDog/agent-payload@v5.0.105...v5.0.106

###
[`v5.0.105`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.105)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.104...v5.0.105)

#### What's Changed

- Add NetworkPolicy protobuf definition by
[@&#8203;aureleoules](https://github.com/aureleoules) in
[https://github.com/DataDog/agent-payload/pull/290](https://github.com/DataDog/agent-payload/pull/290)

#### New Contributors

- [@&#8203;aureleoules](https://github.com/aureleoules) made their
first contribution in
[https://github.com/DataDog/agent-payload/pull/290](https://github.com/DataDog/agent-payload/pull/290)

**Full Changelog**:
DataDog/agent-payload@v5.0.104...v5.0.105

</details>

<details>
<summary>DataDog/datadog-api-client-go
(github.com/DataDog/datadog-api-client-go/v2)</summary>

###
[`v2.24.0`](https://github.com/DataDog/datadog-api-client-go/releases/tag/v2.24.0)

[Compare
Source](https://github.com/DataDog/datadog-api-client-go/compare/v2.23.0...v2.24.0)

<!-- Release notes generated using configuration in .github/release.yml
at v2.24.0 -->

##### What's Changed

##### Fixed

- Disable additionalProperties for Downtime Schedule UpdateRequest
oneOfs by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2390](https://github.com/DataDog/datadog-api-client-go/pull/2390)
- Fix ListServiceDefinitions pagination information by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2416](https://github.com/DataDog/datadog-api-client-go/pull/2416)

##### Added

- Adds support for `ListMetricAssets` endpoint by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2404](https://github.com/DataDog/datadog-api-client-go/pull/2404)
- Add support for new CRUD agent rules endpoints by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2410](https://github.com/DataDog/datadog-api-client-go/pull/2410)
- Add documentation for workflow usage attribution by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2418](https://github.com/DataDog/datadog-api-client-go/pull/2418)
- Add Custom Destinations Public API by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2422](https://github.com/DataDog/datadog-api-client-go/pull/2422)

##### Deprecated

- Deprecate the pattern property for SDS Standard Pattern Attributes by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2411](https://github.com/DataDog/datadog-api-client-go/pull/2411)
- Deprecate Incident Services endpoints by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2424](https://github.com/DataDog/datadog-api-client-go/pull/2424)

##### New Contributors

- [@&#8203;antonio-ramadas-dd](https://github.com/antonio-ramadas-dd)
made their first contribution in
[https://github.com/DataDog/datadog-api-client-go/pull/2421](https://github.com/DataDog/datadog-api-client-go/pull/2421)

**Full Changelog**:
DataDog/datadog-api-client-go@v2.23.0...v2.24.0

###
[`v2.23.0`](https://github.com/DataDog/datadog-api-client-go/releases/tag/v2.23.0)

[Compare
Source](https://github.com/DataDog/datadog-api-client-go/compare/v2.22.0...v2.23.0)

<!-- Release notes generated using configuration in .github/release.yml
at v2.23.0 -->

#### What's Changed

##### Fixed

- Move under common tag Case Management by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2385](https://github.com/DataDog/datadog-api-client-go/pull/2385)
- Include user data with team membership resource by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2380](https://github.com/DataDog/datadog-api-client-go/pull/2380)

##### Added

- Case Management Public API documentation by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2364](https://github.com/DataDog/datadog-api-client-go/pull/2364)
- Make grpc steps available for synthetics api multisteps tests by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2384](https://github.com/DataDog/datadog-api-client-go/pull/2384)
- Add cloud run filter to GCP v1 and v2 spec by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2361](https://github.com/DataDog/datadog-api-client-go/pull/2361)
- add ASM serverless to usage metering API docs by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2393](https://github.com/DataDog/datadog-api-client-go/pull/2393)
- Add new products to usage API docs by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2396](https://github.com/DataDog/datadog-api-client-go/pull/2396)

##### Changed

- Update spec for DORA Metrics Incident endpoint by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2381](https://github.com/DataDog/datadog-api-client-go/pull/2381)

**Full Changelog**:
DataDog/datadog-api-client-go@v2.22.0...v2.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
@jbartosik jbartosik added invalid and removed invalid labels Oct 14, 2024
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.

4 participants