Skip to content

Conversation

@tviaud
Copy link
Contributor

@tviaud tviaud commented Nov 13, 2025

Is this a new chart

No

What this PR does / why we need it:

Adding image configuration based on the nri-bundle chart to use the same standard (https://github.com/newrelic/helm-charts/blob/master/charts/nri-bundle/values.yaml#L100). With the recent addition of the kubectl image we needed to be able to configure the registry of images as mandated within our organisation.

This is making use of the NewRelic Common library to achieve this.

This will be a breaking change for people configuring their image repository using the image section of the current chart (replaced by images section in this PR).

Added imagePullSecrets support for authenticated registries as well.

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])

Release Notes to Publish (nr-k8s-otel-collector)

If this PR contains changes in nr-k8s-otel-collector, please complete the following section. All other charts should ignore this section.

🚨 Upcoming Breaking Changes

  • Removed image configuration in favor of images section. The following config is deprecated and will be removed in a future release.
    • 'image.repository' has been replaced with 'images.collector.repository'.
    • 'image.tag' has been replaced with 'images.collector.tag'.
    • 'image.pullPolicy' has been replaced with 'images.collector.pullPolicy'.

🚀 What's Changed

  • Added images configuration with registry support for both collector and kubectl images via images configuration.
  • Added imagePullSecrets support for authenticated registries.

@mangulonr
Copy link
Contributor

Thanks @tviaud for your great proposal!

We will allocate some time from the team to make a first review during the next sprint.
We may give you some feedback in the next weeks.

…support

# Conflicts:
#	charts/nr-k8s-otel-collector/Chart.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/clusterrole.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/clusterrolebinding.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/daemonset-configmap.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/daemonset.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/deployment-configmap.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/deployment.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/secret.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/service.yaml
#	charts/nr-k8s-otel-collector/examples/k8s/rendered/serviceaccount.yaml
@dbudziwojskiNR dbudziwojskiNR merged commit ab9907e into newrelic:master Dec 2, 2025
13 checks passed
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