Skip to content

Commit a41df4d

Browse files
Merge branch 'master' into dbudziwojski/otel-improvements
# Conflicts: # charts/nr-k8s-otel-collector/templates/daemonset-configmap.yaml
2 parents fbceec2 + 6c3cdd1 commit a41df4d

File tree

14 files changed

+70
-25
lines changed

14 files changed

+70
-25
lines changed

charts/agent-control/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ dependencies:
44
version: 2.14.1
55
- name: agent-control-deployment
66
repository: ""
7-
version: 0.0.42-beta
7+
version: 0.0.43-beta
88
- name: common-library
99
repository: https://helm-charts.newrelic.com
1010
version: 1.3.1
11-
digest: sha256:af3a56b5b32d661139441f50887c99a69ad3cf4c32e393b1cec71e38c257fcdf
12-
generated: "2025-02-27T12:26:06.411355+01:00"
11+
digest: sha256:c48931832ecebf5cf8572616cdb15580df0f0b1c11b008d4ec741a4f35dcc83c
12+
generated: "2025-03-05T16:37:35.732903+01:00"

charts/agent-control/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: agent-control
33
description: Bootstraps New Relic' Agent Control
44

55
type: application
6-
version: 0.0.52-beta
6+
version: 0.0.55-beta
77

88
dependencies:
99
- name: flux2
1010
repository: https://fluxcd-community.github.io/helm-charts
1111
version: 2.14.1
1212
condition: flux2.enabled
1313
- name: agent-control-deployment
14-
version: 0.0.42-beta
14+
version: 0.0.43-beta
1515
condition: agent-control-deployment.enabled
1616
# The following dependency is needed as sub-dependency of agent-control-deployment
1717
- name: common-library

charts/agent-control/README.md

+21-6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ means that it honors a wide range of defaults and globals common to most New Rel
2626
Options that can be defined globally include `affinity`, `nodeSelector`, `tolerations`, `proxy` and others. The full list can be found at
2727
[user's guide of the common library](https://github.com/newrelic/helm-charts/blob/master/library/common-library/README.md).
2828

29+
## Flux Integration
30+
31+
Agent Control leverages [Flux](https://github.com/fluxcd/flux2) custom resources to automate the deployment of New Relic agents. This chart includes Flux as a dependency by default, eliminating the need for separate installation.
32+
33+
### Using an Existing Flux Installation
34+
35+
To use an existing Flux setup, disable the default installation by setting `flux2.enabled` to `false` in your values. Ensure your existing Flux installation meets the following requirements:
36+
37+
- Agent control is compatible with **Flux Versions**: 2.3.x, 2.4.x, or 2.5.x.
38+
- **CRDs Required**:
39+
- `source.toolkit.fluxcd.io/v1` for HelmRepository
40+
- `helm.toolkit.fluxcd.io/v2` for HelmRelease
41+
- **Namespace Access**: Must be configured to watch resources in the `newrelic` namespace, or the namespace where Agent Control is deployed.
42+
2943
## Test custom agentTypes
3044

3145
In order to test custom agentTypes is possible to leverage `extraVolumeMounts` and `extraVolumes` once you have created the configMap in the namespace.
@@ -72,12 +86,12 @@ As of the creation of the chart, it has no particularities and this section can
7286
| agent-control-deployment.config.agentControl.content | object | `{}` | Overrides the configuration that has been created automatically by the chart. This configuration here will be **MERGED** with the configuration specified above. If you need to have you own configuration, disabled the creation of this configMap and create your own. |
7387
| agent-control-deployment.config.agentControl.create | bool | `true` | Set if the configMap is going to be created by this chart or the user will provide its own. |
7488
| agent-control-deployment.config.fleet_control.auth.organizationId | string | `""` | Organization ID where fleets will live. |
75-
| agent-control-deployment.config.fleet_control.auth.secret.client_id.base64 | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set client ID directly as base64. This options is mutually exclusive with `plain`. |
76-
| agent-control-deployment.config.fleet_control.auth.secret.client_id.plain | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set client ID directly as plain text. This options is mutually exclusive with `base64`. |
89+
| agent-control-deployment.config.fleet_control.auth.secret.client_id.base64 | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set client ID directly as base64 if you want to skip its creation. This options is mutually exclusive with `plain`. |
90+
| agent-control-deployment.config.fleet_control.auth.secret.client_id.plain | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set client ID directly as plain text if you want to skip its creation. This options is mutually exclusive with `base64`. |
7791
| agent-control-deployment.config.fleet_control.auth.secret.client_id.secret_key | string | `client_id` | Key inside the secret containing the client ID. |
7892
| agent-control-deployment.config.fleet_control.auth.secret.name | string | release name suffixed with "-auth" | Name auth' secret provided by the user. If the creation of this secret is set to `true`, this is the same the secret will have. |
79-
| agent-control-deployment.config.fleet_control.auth.secret.private_key.base64_pem | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set private key directly as base64. This options is mutually exclusive with `plain_pem`. |
80-
| agent-control-deployment.config.fleet_control.auth.secret.private_key.plain_pem | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set private key directly as plain text. This options is mutually exclusive with `base64_pem`. |
93+
| agent-control-deployment.config.fleet_control.auth.secret.private_key.base64_pem | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set private key directly as base64 if you want to skip its creation. This options is mutually exclusive with `plain_pem`. |
94+
| agent-control-deployment.config.fleet_control.auth.secret.private_key.plain_pem | string | `nil` | In case `.config.auth.secret.create` is true, you can set these keys to set private key directly as plain text if you want to skip its creation. This options is mutually exclusive with `base64_pem`. |
8195
| agent-control-deployment.config.fleet_control.auth.secret.private_key.secret_key | string | `private_key` | Key inside the secret containing the private key. |
8296
| agent-control-deployment.config.fleet_control.enabled | bool | `true` | Enables or disables the auth against fleet control. It implies to disable any fleet communication and running the agent in stand alone mode where only the agents specified on `.config.subAgents` will be launched. |
8397
| agent-control-deployment.config.fleet_control.fleet_id | string | `""` | Specify a fleet_id to automatically connect the Agent Control to an existing fleet. |
@@ -95,12 +109,13 @@ As of the creation of the chart, it has no particularities and this section can
95109
| agent-control-deployment.extraVolumes | list | `[]` | Volumes to mount in the containers |
96110
| agent-control-deployment.fedramp.enabled | bool | `false` | TODO: Enables FedRAMP. Can be configured also with `global.fedramp.enabled` |
97111
| agent-control-deployment.hostNetwork | bool | `false` | Sets pod's hostNetwork. Can be configured also with `global.hostNetwork` |
112+
| agent-control-deployment.identityClientId | string | `""` | Identity client_id to use. |
113+
| agent-control-deployment.identityClientSecret | string | `""` | Identity client_secret to use. |
98114
| agent-control-deployment.image | object | See `values.yaml` | Image for the New Relic Agent Control |
99115
| agent-control-deployment.image.pullSecrets | list | `[]` | The secrets that are needed to pull images from a custom registry. |
100-
| agent-control-deployment.identityClientId | string | `""` | identity client_id to use. |
101-
| agent-control-deployment.identityClientSecret | string | `""` | identity client_secret to use. |
102116
| agent-control-deployment.labels | object | `{}` | Additional labels for chart objects. Can be configured also with `global.labels` |
103117
| agent-control-deployment.licenseKey | string | `""` | This set this license key to use. Can be configured also with `global.licenseKey` |
118+
| agent-control-deployment.nameOverride | string | `"agent-control"` | Override the name of the chart used to template resource names. |
104119
| agent-control-deployment.nodeSelector | object | `{}` | Sets pod's node selector. Can be configured also with `global.nodeSelector` |
105120
| agent-control-deployment.nrStaging | bool | `false` | Send the metrics to the staging backend. Requires a valid staging license key. Can be configured also with `global.nrStaging` |
106121
| agent-control-deployment.podAnnotations | object | `{}` | Annotations to be added to all pods created by the integration. |

charts/agent-control/README.md.gotmpl

+14
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@ means that it honors a wide range of defaults and globals common to most New Rel
3131
Options that can be defined globally include `affinity`, `nodeSelector`, `tolerations`, `proxy` and others. The full list can be found at
3232
[user's guide of the common library](https://github.com/newrelic/helm-charts/blob/master/library/common-library/README.md).
3333

34+
## Flux Integration
35+
36+
Agent Control leverages [Flux](https://github.com/fluxcd/flux2) custom resources to automate the deployment of New Relic agents. This chart includes Flux as a dependency by default, eliminating the need for separate installation.
37+
38+
### Using an Existing Flux Installation
39+
40+
To use an existing Flux setup, disable the default installation by setting `flux2.enabled` to `false` in your values. Ensure your existing Flux installation meets the following requirements:
41+
42+
- Agent control is compatible with **Flux Versions**: 2.3.x, 2.4.x, or 2.5.x.
43+
- **CRDs Required**:
44+
- `source.toolkit.fluxcd.io/v1` for HelmRepository
45+
- `helm.toolkit.fluxcd.io/v2` for HelmRelease
46+
- **Namespace Access**: Must be configured to watch resources in the `newrelic` namespace, or the namespace where Agent Control is deployed.
47+
3448
## Test custom agentTypes
3549

3650
In order to test custom agentTypes is possible to leverage `extraVolumeMounts` and `extraVolumes` once you have created the configMap in the namespace.

charts/agent-control/charts/agent-control-deployment/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart to install New Relic Agent Control on Kubernetes
44

55
type: application
66

7-
version: 0.0.42-beta
7+
version: 0.0.43-beta
88

99
keywords:
1010
- newrelic

charts/agent-control/charts/agent-control-deployment/templates/preinstall-job-register-system-identity.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ spec:
6767
- name: register-system-identity
6868
image: "{{ (.Values.systemIdentityRegistration.image).repository | default "newrelic/agent-control-system-identity-registration" }}:{{ (.Values.systemIdentityRegistration.image).tag | default "latest" }}"
6969
imagePullPolicy: {{ .Values.systemIdentityRegistration.image.pullPolicy }}
70+
resources:
71+
limits:
72+
cpu: 100m
73+
memory: 128Mi
74+
requests:
75+
cpu: 50m
76+
memory: 64Mi
7077
env:
7178
{{- if or (include "newrelic.common.userKey._customSecretName" .) (include "newrelic.common.userKey._userKey" .) }}
7279
- name: USER_KEY

charts/agent-control/charts/agent-control-deployment/templates/uninstall-job.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ spec:
2727
containers:
2828
- name: delete-managed-resources
2929
image: bitnami/kubectl # TODO: Pin version to the latest that we support.
30+
resources:
31+
limits:
32+
cpu: 100m
33+
memory: 128Mi
34+
requests:
35+
cpu: 50m
36+
memory: 64Mi
3037
command:
3138
- bash
3239
args:

charts/agent-control/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ agent-control-deployment:
3535
image:
3636
registry:
3737
repository: newrelic/newrelic-agent-control
38-
tag: "0.33.0"
38+
tag: "0.34.0"
3939
pullPolicy: IfNotPresent
4040
# -- The secrets that are needed to pull images from a custom registry.
4141
pullSecrets: []

charts/nr-ebpf-agent/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.1.23
16+
version: 0.1.24
1717

1818
dependencies:
1919
- name: common-library

charts/nr-ebpf-agent/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Options that can be defined globally include `affinity`, `nodeSelector`, `tolera
9090
| ebpfAgent.containerSecurityContext | object | `{}` | Sets ebpfAgent pod containerSecurityContext. Overrides `containerSecurityContext` and `global.securityContext.container` |
9191
| ebpfAgent.image.pullPolicy | string | `"IfNotPresent"` | The pull policy is defaulted to IfNotPresent, which skips pulling an image if it already exists. If pullPolicy is defined without a specific value, it is also set to Always. |
9292
| ebpfAgent.image.repository | string | `"docker.io/newrelic/newrelic-ebpf-agent"` | eBPF agent image to be deployed. |
93-
| ebpfAgent.image.tag | string | `"agent-nr-ebpf-agent_0.0.7"` | The tag of the eBPF agent image to be deployed. |
93+
| ebpfAgent.image.tag | string | `"agent-nr-ebpf-agent_0.0.8"` | The tag of the eBPF agent image to be deployed. |
9494
| ebpfAgent.podAnnotations | object | `{}` | Sets ebpfAgent pod Annotations. Overrides `podAnnotations` and `global.podAnnotations` |
9595
| ebpfAgent.podSecurityContext | object | `{}` | Sets ebpfAgent pod podSecurityContext. Overrides `podSecurityContext` and `global.securityContext.pod` |
9696
| ebpfAgent.resources.limits.memory | string | `"2Gi"` | Max memory allocated to the container. |
@@ -99,7 +99,7 @@ Options that can be defined globally include `affinity`, `nodeSelector`, `tolera
9999
| ebpfAgent.tolerations | list | `[]` | Sets ebpfAgent pod tolerations. Overrides `tolerations` and `global.tolerations` |
100100
| ebpfClient.image.pullPolicy | string | `"IfNotPresent"` | The pull policy is defaulted to IfNotPresent, which skips pulling an image if it already exists. If pullPolicy is defined without a specific value, it is set to Always. |
101101
| ebpfClient.image.repository | string | `"docker.io/newrelic/newrelic-ebpf-agent"` | eBPF client image to be deployed. |
102-
| ebpfClient.image.tag | string | `"client-nr-ebpf-client_0.0.11"` | The tag of the eBPF client image to be deployed. |
102+
| ebpfClient.image.tag | string | `"client-nr-ebpf-client_0.0.12"` | The tag of the eBPF client image to be deployed. |
103103
| ebpfClient.resources.limits.memory | string | `"100Mi"` | Max memory allocated to the container. |
104104
| ebpfClient.resources.requests.cpu | string | `"50m"` | Min CPU allocated to the container. |
105105
| ebpfClient.resources.requests.memory | string | `"50Mi"` | Min memory allocated to the container. |

charts/nr-ebpf-agent/templates/_tls.tpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ a cert is loaded from an existing secret or is provided via `.Values`
2020
{{- $domain2 := printf "%s.%s.svc.%s" (include "nr-ebpf-agent.service.name" .) $.Release.Namespace $.Values.kubernetesClusterDomain }}
2121
{{- $domain3 := printf "%s.%s.svc" (include "otel-collector.service.name" .) $.Release.Namespace }}
2222
{{- $domain4 := printf "%s.%s.svc.%s" (include "otel-collector.service.name" .) $.Release.Namespace $.Values.kubernetesClusterDomain }}
23-
{{- $domains := list $domain1 $domain2 $domain3 $domain4 }}
23+
{{- $domain5 := "localhost" }}
24+
{{- $domains := list $domain1 $domain2 $domain3 $domain4 $domain5 }}
2425
{{- $cert := genSignedCert (include "newrelic.common.naming.fullname" .) nil $domains $certValidity $ca }}
2526
{{- $clientCert = b64enc $cert.Cert }}
2627
{{- $clientKey = b64enc $cert.Key }}

charts/nr-ebpf-agent/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ customSecretLicenseKey: ""
1010
# -- If using a customSecretLicenseKey, you must supply your region "US"/"EU". Otherwise, leave this value as an empty string.
1111
region: ""
1212
# -- Enable to export data to NR's Staging otel endpoint (staging-otlp.nr-data.net:4317).
13-
nrStaging: false
13+
nrStaging:
1414
# -- Configures the agent to send all data through the proxy specified via the otel collector.
1515
proxy: ""
1616
# -- Drop data when service names map to an IP address.
@@ -103,7 +103,7 @@ ebpfAgent:
103103
# -- The pull policy is defaulted to IfNotPresent, which skips pulling an image if it already exists. If pullPolicy is defined without a specific value, it is also set to Always.
104104
pullPolicy: IfNotPresent
105105
# -- The tag of the eBPF agent image to be deployed.
106-
tag: agent-nr-ebpf-agent_0.0.7
106+
tag: agent-nr-ebpf-agent_0.0.8
107107
resources:
108108
limits:
109109
# -- Max memory allocated to the container.
@@ -132,7 +132,7 @@ ebpfClient:
132132
# -- The pull policy is defaulted to IfNotPresent, which skips pulling an image if it already exists. If pullPolicy is defined without a specific value, it is set to Always.
133133
pullPolicy: IfNotPresent
134134
# -- The tag of the eBPF client image to be deployed.
135-
tag: client-nr-ebpf-client_0.0.11
135+
tag: client-nr-ebpf-client_0.0.12
136136
resources:
137137
limits:
138138
# -- Max memory allocated to the container.

charts/synthetics-job-manager/Chart.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: synthetics-job-manager
33
description: New Relic Synthetics Containerized Job Manager
44
type: application
5-
version: 3.0.7
6-
appVersion: release-424
5+
version: 3.0.8
6+
appVersion: release-428
77
home: https://github.com/orgs/newrelic/teams/proactive-monitoring
88
maintainers:
99
- name: kaschaefer-nr
@@ -17,6 +17,7 @@ maintainers:
1717
- name: schakraborty-nr
1818
- name: shashank-srirangam
1919
- name: nr-mdadhich
20+
- name: nr-amrendrasingh
2021
2122
keywords:
2223
- synthetics
@@ -31,5 +32,5 @@ dependencies:
3132
version: 1.0.38
3233
condition: node-api-runtime.enabled
3334
- name: node-browser-runtime
34-
version: 2.0.4
35+
version: 2.0.5
3536
condition: node-browser-runtime.enabled

charts/synthetics-job-manager/charts/node-browser-runtime/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: node-browser-runtime
33
description: New Relic Synthetics Browser Runtime
44
type: application
5-
version: 2.0.4
6-
appVersion: 3.0.17
5+
version: 2.0.5
6+
appVersion: 3.0.24
77
home: https://github.com/orgs/newrelic/teams/proactive-monitoring
88
maintainers:
99
- name: Philip-R-Beckwith

0 commit comments

Comments
 (0)