Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Oct 27, 2025

What does this PR do?

This PR fixes the quoting of boolean values agent.fleet.insecure and agent.fleet.force.

Why is it important?

Prior to the fix, the rendered values for these fields would appear like so, with an extra pair of quotes, which was causing the rendered value to be ineffective:

- name: FLEET_INSECURE
   value: '"true"'
- name: FLEET_FORCE
   value: '"true"'

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

None; fixes a bug.

How to test this PR locally

  1. Add insecure: true here.
  2. Run mage helm:renderExamples
  3. Verify that the env var in the rendered manifest only has a single pair of double quotes around the value.

Thanks @pkoutsovasilis for suggesting the fix and testing steps.


This is an automatic backport of pull request #10681 done by Mergify.

@mergify mergify bot requested a review from a team as a code owner October 27, 2025 18:39
@mergify mergify bot added the backport label Oct 27, 2025
@mergify mergify bot requested review from blakerouse and pkoutsovasilis and removed request for a team October 27, 2025 18:39
@github-actions github-actions bot added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Oct 27, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@ycombinator ycombinator enabled auto-merge (squash) October 27, 2025 19:15
* Properly quote boolean values in Helm charts

* Adding CHANGELOG fragment

(cherry picked from commit 815dd3e)
@ycombinator ycombinator force-pushed the mergify/bp/9.1/pr-10681 branch from b9f68fd to b2b329d Compare October 28, 2025 20:34
@ycombinator ycombinator merged commit eb8dcca into 9.1 Oct 28, 2025
21 checks passed
@ycombinator ycombinator deleted the mergify/bp/9.1/pr-10681 branch October 28, 2025 22:31
@elasticmachine
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @ycombinator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants