-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nr-ebpf-agent] Sync the latest updates to the nr-ebpf-agent chart (#…
…1537) <!-- 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 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.] - [x] Chart Version bumped - [x] Variables are documented in the README.md - [x] Title of the PR starts with chart name (e.g. `[mychartname]`) --------- Signed-off-by: kpattaswamy <[email protected]> Co-authored-by: Philip-R-Beckwith <[email protected]> Co-authored-by: kpattaswamy <[email protected]>
- Loading branch information
1 parent
69fb4ee
commit 03b49e4
Showing
17 changed files
with
618 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{{- /* | ||
A helper to return the affinity to apply to the ebpf daemonset. | ||
*/ -}} | ||
{{- define "nrEbpfAgent.ebpfAgent.affinity" -}} | ||
{{- if .Values.ebpfAgent.affinity -}} | ||
{{- toYaml .Values.ebpfAgent.affinity -}} | ||
{{- else if include "newrelic.common.affinity" . -}} | ||
{{- include "newrelic.common.affinity" . -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- /* | ||
A helper to return the affinity to apply to the Otel daemonset. | ||
*/ -}} | ||
{{- define "nrEbpfAgent.otelCollector.affinity" -}} | ||
{{- if .Values.otelCollector.affinity -}} | ||
{{- toYaml .Values.otelCollector.affinity -}} | ||
{{- else if include "newrelic.common.affinity" . -}} | ||
{{- include "newrelic.common.affinity" . -}} | ||
{{- end -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{/* Controller manager service certificate's secret. */}} | ||
{{- define "nr-ebpf-agent-certificates.certificateSecret.name" -}} | ||
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "newrelic.common.naming.fullname" .) "suffix" "controller-manager-service-cert") -}} | ||
{{- end }} | ||
{{- define "nr-ebpf-agent.service.name" -}} | ||
{{- include "newrelic.common.naming.truncateToDNS" (include "newrelic.common.naming.fullname" .) }} | ||
{{- end }} | ||
{{- define "otel-collector.service.name" -}} | ||
{{- include "newrelic.common.naming.truncateToDNS" "otel-collector" }} | ||
{{- end }} | ||
{{- define "nr-ebpf-agent.otelconfig.name" -}} | ||
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "newrelic.common.naming.fullname" .) "suffix" "config") -}} | ||
{{- end -}} | ||
{{- define "nr-ebpf-agent.otelcollector.name" -}} | ||
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "newrelic.common.naming.fullname" .) "suffix" "otel-collector") -}} | ||
{{- end -}} | ||
{{- define "nr-ebpf-agent.collector.name" -}} | ||
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "newrelic.common.naming.fullname" .) "suffix" "collector") -}} | ||
{{- end -}} |
Oops, something went wrong.