Skip to content

fix: Upgrade Grafana Operator to 5.22.2 - #275

Open
amwarrier wants to merge 1 commit into
mainfrom
aravind/upgrade-grafana-operator-5-22-2
Open

fix: Upgrade Grafana Operator to 5.22.2#275
amwarrier wants to merge 1 commit into
mainfrom
aravind/upgrade-grafana-operator-5-22-2

Conversation

@amwarrier

@amwarrier amwarrier commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrade the embedded Grafana Operator Helm dependency from 5.21.4 to 5.22.2, bump the W&B Operator Helm chart package to 2.0.0-beta.2, and regenerate deploy/operator/Chart.lock.

Root cause

Grafana Operator 5.21.4 ships the GrafanaNotificationPolicy CRD with the CEL rule !has(self.continue). On Kubernetes 1.30, continue is parsed as a CEL keyword, so the API server rejects the CRD during a full-telemetry install. Grafana Operator 5.22.2 includes the upstream fix to address the field as self.__continue__.

Upstream fix: grafana/grafana-operator#2583

Impact

Full-telemetry installations can install the Grafana notification-policy CRD on Kubernetes 1.30 without requiring a WSM-side mutation of a packaged dependency.

The chart package version is 2.0.0-beta.2. Its appVersion and operator image remain 2.0.0-beta.1 because this fix changes only the packaged Helm dependency, not the controller binary. WSM/Watchtower must select chart 2.0.0-beta.2 before existing consumers receive the fix.

Published artifact

Validation

  • helm dependency build --skip-refresh deploy/operator
  • helm lint --strict deploy/operator --values deploy/operator/profiles/telemetry-full.yaml
  • Rendered the full telemetry chart with --include-crds and verified the rule is !has(self.__continue__)
  • Applied the affected CRD with kubectl apply --dry-run=server against the affected EKS Kubernetes 1.30 API server

Summary by CodeRabbit

  • Chores
    • Updated the deployment chart to version 2.0.0-beta.2.
    • Updated the Grafana Operator dependency to version 5.22.2.

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The Helm chart version was updated to 2.0.0-beta.2, and its grafana-operator dependency was updated to 5.22.2.

Changes

Helm chart release

Layer / File(s) Summary
Chart metadata and dependency versions
deploy/operator/Chart.yaml
Updates the chart version and the grafana-operator dependency version.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • wandb/operator#262: Updates related beta release versioning in deploy/operator/Chart.yaml.

Suggested reviewers: casey-coreweave

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: upgrading the Grafana Operator dependency to 5.22.2.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch aravind/upgrade-grafana-operator-5-22-2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@amwarrier
amwarrier marked this pull request as ready for review July 20, 2026 17:41
@amwarrier
amwarrier requested a review from a team as a code owner July 20, 2026 17:41

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@deploy/operator/Chart.yaml`:
- Line 5: Update the appVersion field in Chart.yaml to 2.0.0-beta.2 so it
matches the chart version and operator image tag.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3d10aaf3-26b5-4e6f-a17b-ce803a74af40

📥 Commits

Reviewing files that changed from the base of the PR and between 7da7c58 and 78d13aa.

⛔ Files ignored due to path filters (1)
  • deploy/operator/Chart.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • deploy/operator/Chart.yaml

description: A Helm chart for Weights & Biases operator
type: application
version: 2.0.0-beta.1
version: 2.0.0-beta.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail
make lint
make test

Repository: wandb/operator

Length of output: 194


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '\n== Chart.yaml ==\n'
cat -n deploy/operator/Chart.yaml

printf '\n== Chart.lock ==\n'
cat -n deploy/operator/Chart.lock

printf '\n== version-related docs ==\n'
rg -n --hidden --glob '!**/.git/**' -e 'appVersion|chart version|version together|release metadata|operator versions' README.md docs deploy/operator .github || true

Repository: wandb/operator

Length of output: 4097


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '\n== docs/releasing.md ==\n'
sed -n '1,40p' docs/releasing.md

printf '\n== .github/workflows/release.yaml ==\n'
sed -n '55,85p' .github/workflows/release.yaml

printf '\n== .github/workflows/internal-chart-publish.yaml ==\n'
sed -n '1,95p' .github/workflows/internal-chart-publish.yaml

Repository: wandb/operator

Length of output: 6274


Align appVersion with the chart version

deploy/operator/Chart.yaml:5-6 — bump appVersion to 2.0.0-beta.2 as well. The release workflow expects version, appVersion, and the operator image tag to match.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@deploy/operator/Chart.yaml` at line 5, Update the appVersion field in
Chart.yaml to 2.0.0-beta.2 so it matches the chart version and operator image
tag.

Source: Coding guidelines

description: A Helm chart for Weights & Biases operator
type: application
version: 2.0.0-beta.1
version: 2.0.0-beta.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
version: 2.0.0-beta.2
version: 2.0.0-beta.1

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