Skip to content

Conversation

a-thomas-22
Copy link
Collaborator

@a-thomas-22 a-thomas-22 commented Jul 24, 2025

Summary

  • Add configmap.removeKeys feature to allow removing configuration entries entirely
  • Helps with backwards compatibility when nitro releases have different CLI arguments
  • Add CI testing to verify the functionality

Features

  • Support removing entire config sections (e.g., "ws", "pprof")
  • Support removing nested fields using dot notation (e.g., "metrics-server.port")
  • Add CI testing with bogus fields to verify functionality

Example usage

configmap:
  removeKeys:
    - "deprecated-section"
    - "node.old-field"

Test plan

  • Added bogus test fields to charts/nitro/ci/sepolia-values.yaml
  • Verified the removeKeys functionality works with helm template
  • CI will test the feature automatically with the sepolia values

Add a new feature to the nitro helm chart that allows removing configuration
entries entirely by specifying keys in configmap.removeKeys. This helps with
backwards compatibility when nitro releases have different CLI arguments.

Features:
- Support removing entire config sections (e.g., "ws", "pprof")
- Support removing nested fields using dot notation (e.g., "metrics-server.port")
- Add CI testing with bogus fields to verify functionality

Example usage:
```yaml
configmap:
  removeKeys:
    - "deprecated-section"
    - "node.old-field"
```
@a-thomas-22 a-thomas-22 requested a review from a team as a code owner July 24, 2025 03:53
Copy link

github-actions bot commented Jul 24, 2025

Chart Installation Test succeeded ✅

The chart installation test for commit 9bed8f5eaa9c7e3aa264ad509439f7d7a12c1537 has succeeded.

Changed charts: charts/nitro

View workflow run
View unprivileged test run

@a-thomas-22 a-thomas-22 enabled auto-merge (squash) July 24, 2025 03:57
@a-thomas-22 a-thomas-22 merged commit fd25a7b into main Jul 29, 2025
7 checks passed
@a-thomas-22 a-thomas-22 deleted the feat/nitro-config-remove-keys branch July 29, 2025 15:00
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