Skip to content

Conversation

@rogercoll
Copy link
Contributor

@rogercoll rogercoll commented Nov 28, 2025

What does this PR do?

Modifies the kube-stack configurations to prevent "null" values in the Helm v4.

Why is it important?

Fixes the deployment with Helm 4, error message:

Error: Instrumentation.opentelemetry.io "elastic-instrumentation" is invalid: spec.env: Invalid value: "null": spec.env in body must be of type array: "null"
OpenTelemetryCollector.opentelemetry.io "opentelemetry-kube-stack-gateway" is invalid: [spec.config.service.pipelines.metrics/aggregated-otel-metrics.processors: Invalid value: "null": spec.config.service.pipelines.metrics/aggregated-otel-metrics.processors in body must be of type array: "null", <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

@mergify
Copy link
Contributor

mergify bot commented Nov 28, 2025

This pull request does not have a backport label. Could you fix it @rogercoll? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@elasticmachine
Copy link
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

cc @rogercoll

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.

2 participants