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

[nr-ebpf-agent] Sync the latest updates to the nr-ebpf-agent chart #1537

Merged
merged 40 commits into from
Jan 30, 2025

Conversation

nravada
Copy link
Contributor

@nravada nravada commented Dec 5, 2024

Is this a new chart

No

What this PR does / why we need it:

Updates the helm chart with the latest changes made.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [mychartname])

@nravada nravada requested a review from a team as a code owner December 5, 2024 13:13
Copy link
Member

@kpattaswamy kpattaswamy left a comment

Choose a reason for hiding this comment

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

Is it possible to add the remaining changes from eBPF repo as well here to get this chart up to date?

charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
@nravada
Copy link
Contributor Author

nravada commented Jan 23, 2025

We have added two labels, app and component, in the spec.selector section of the nr-ebpf-agent-service.yaml file. The Helm upgrade check is failing in the pull request (PR) due to these newly added labels, as Kubernetes does not allow changes to the spec.selector field of an existing Service.

To pass the Helm upgrade check, we temporarily excluded the newly added labels from the spec.selector. This allowed all checks to pass in the PR. After the checks passed, we reverted the temporary changes and included the labels again in the latest commit.

Given that the Helm upgrade check failure is due to the immutable nature of the spec.selector field, we can proceed with the changes by neglecting the Helm upgrade check.

charts/nr-ebpf-agent/Chart.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/values.yaml Outdated Show resolved Hide resolved
charts/nr-ebpf-agent/README.md Outdated Show resolved Hide resolved
<!--
Thank you for contributing to New Relic's Helm charts. Before you submit
this PR we'd like to
make sure you are aware of our technical requirements:

*
https://github.com/newrelic-experimental/helm-charts/blob/master/CONTRIBUTING.md#technical-requirements

For a quick overview across what we will look at reviewing your PR,
please read
our review guidelines:

*
https://github.com/newrelic-experimental/helm-charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the
review process and
help get your PR merged quicker.

When updates to your PR are requested, please add new commits and do not
squash the
history. This will make it easier to identify new changes. The PR will
be squashed
anyways when it is merged. Thanks.

For fast feedback, please @-mention maintainers that are listed in the
Chart.yaml file.

Please make sure you test your changes before you push them. Once
pushed, a Github Action
will run across your changes and do some initial checks and linting.
These checks run
very quickly. Please check the results. We would like these checks to
pass before we
even continue reviewing your changes.
-->
#### Is this a new chart
NO.
#### What this PR does / why we need it:
Removes selector labels that we don't need. 

Installed the chart without the new selectors and got data: 
<img width="1141" alt="Screenshot 2025-01-28 at 12 24 33 PM"
src="https://github.com/user-attachments/assets/087cb973-1962-420f-9f9b-2f6892b7633c"
/>


#### Which issue this PR fixes
*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)`
format, will close that issue when PR gets merged)*
  - fixes #

#### Special notes for your reviewer:

#### Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove
unrelated fields.]
- [ ] Chart Version bumped
- [x] Variables are documented in the README.md
- [x] Title of the PR starts with chart name (e.g. `[mychartname]`)
<!--
Thank you for contributing to New Relic's Helm charts. Before you submit
this PR we'd like to
make sure you are aware of our technical requirements:

*
https://github.com/newrelic-experimental/helm-charts/blob/master/CONTRIBUTING.md#technical-requirements

For a quick overview across what we will look at reviewing your PR,
please read
our review guidelines:

*
https://github.com/newrelic-experimental/helm-charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the
review process and
help get your PR merged quicker.

When updates to your PR are requested, please add new commits and do not
squash the
history. This will make it easier to identify new changes. The PR will
be squashed
anyways when it is merged. Thanks.

For fast feedback, please @-mention maintainers that are listed in the
Chart.yaml file.

Please make sure you test your changes before you push them. Once
pushed, a Github Action
will run across your changes and do some initial checks and linting.
These checks run
very quickly. Please check the results. We would like these checks to
pass before we
even continue reviewing your changes.
-->
#### Is this a new chart
NO.
#### What this PR does / why we need it:
Updates the images to match what they should be for the release. 

#### Which issue this PR fixes
*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)`
format, will close that issue when PR gets merged)*
  - fixes #

#### Special notes for your reviewer:
Released images can be found here. 
https://hub.docker.com/r/newrelic/newrelic-ebpf-agent/tags 
#### Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove
unrelated fields.]
- [ ] Chart Version bumped
- [x] Variables are documented in the README.md
- [x] Title of the PR starts with chart name (e.g. `[mychartname]`)
@Philip-R-Beckwith Philip-R-Beckwith dismissed dbudziwojskiNR’s stale review January 29, 2025 23:37

Change requests addressed.

kpattaswamy
kpattaswamy previously approved these changes Jan 29, 2025
@kpattaswamy kpattaswamy changed the title NR-346357: Sync up nr-ebpf-agent charts in helm-charts from newrelic-… [nr-ebpf-agent] Sync the latest updates to the nr-ebpf-agent chart Jan 29, 2025
@Philip-R-Beckwith Philip-R-Beckwith dismissed stale reviews from kpattaswamy and themself via 014562c January 30, 2025 00:44
Commenting out use of lookup.

<!--
Thank you for contributing to New Relic's Helm charts. Before you submit
this PR we'd like to
make sure you are aware of our technical requirements:

*
https://github.com/newrelic-experimental/helm-charts/blob/master/CONTRIBUTING.md#technical-requirements

For a quick overview across what we will look at reviewing your PR,
please read
our review guidelines:

*
https://github.com/newrelic-experimental/helm-charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the
review process and
help get your PR merged quicker.

When updates to your PR are requested, please add new commits and do not
squash the
history. This will make it easier to identify new changes. The PR will
be squashed
anyways when it is merged. Thanks.

For fast feedback, please @-mention maintainers that are listed in the
Chart.yaml file.

Please make sure you test your changes before you push them. Once
pushed, a Github Action
will run across your changes and do some initial checks and linting.
These checks run
very quickly. Please check the results. We would like these checks to
pass before we
even continue reviewing your changes.
-->
#### Is this a new chart

#### What this PR does / why we need it:

#### Which issue this PR fixes
*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)`
format, will close that issue when PR gets merged)*
  - fixes #

#### Special notes for your reviewer:

#### Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove
unrelated fields.]
- [ ] Chart Version bumped
- [ ] Variables are documented in the README.md
- [ ] Title of the PR starts with chart name (e.g. `[mychartname]`)
@Philip-R-Beckwith Philip-R-Beckwith merged commit 03b49e4 into master Jan 30, 2025
11 checks passed
@Philip-R-Beckwith Philip-R-Beckwith deleted the NR-346357 branch January 30, 2025 01:07
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.

6 participants