Skip to content

fix(opensearch): remove commented-out disabled alerts and service monitor#1597

Merged
joluc merged 1 commit intomainfrom
fix/opensearch-alerting
May 6, 2026
Merged

fix(opensearch): remove commented-out disabled alerts and service monitor#1597
joluc merged 1 commit intomainfrom
fix/opensearch-alerting

Conversation

@joluc
Copy link
Copy Markdown
Contributor

@joluc joluc commented May 5, 2026

Pull Request Details

Commented-out alert rules and service monitor contain Go template directives that producing invalid YAML. Removed. Will come back in the next operator version.

Copilot AI review requested due to automatic review settings May 5, 2026 14:42
@joluc joluc requested a review from a team as a code owner May 5, 2026 14:42
@joluc joluc force-pushed the fix/opensearch-alerting branch from 51085e0 to 7d14355 Compare May 5, 2026 14:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes Helm/YAML rendering issues in the OpenSearch extension by removing commented-out manifests that still contained Helm template directives (which Helm evaluates even when they appear inside YAML comments), and bumps the plugin/chart version to ship the fix.

Changes:

  • Bump OpenSearch plugin and Helm chart versions from 0.0.58 to 0.0.59.
  • Remove disabled/commented-out operator ServiceMonitor template content that caused invalid YAML.
  • Remove commented-out operator alert rules containing template directives, leaving an empty ruleset.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
opensearch/plugindefinition.yaml Bumps plugin and referenced chart version to 0.0.59.
opensearch/chart/Chart.yaml Bumps Helm chart version to 0.0.59.
opensearch/chart/templates/service-monitor-operator.yaml Removes commented-out ServiceMonitor template directives; template now renders nothing.
opensearch/chart/alerts/opensearch-operator.yaml Removes commented-out operator alert rules with template directives; keeps rules: [].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joluc joluc merged commit f543df4 into main May 6, 2026
7 checks passed
@joluc joluc deleted the fix/opensearch-alerting branch May 6, 2026 07:43
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.

3 participants