Skip to content

Sync OxiaCluster CRD - #115

Merged
tuteng merged 1 commit into
mainfrom
codex/sync-oxia-crd
Sep 7, 2026
Merged

Sync OxiaCluster CRD#115
tuteng merged 1 commit into
mainfrom
codex/sync-oxia-crd

Conversation

@tuteng

Copy link
Copy Markdown
Member

No description provided.

@tuteng
tuteng requested a review from a team as a code ownerSeptember 7, 2026 10:10
CopilotAI lite review requested due to automatic review settings September 7, 2026 10:10
@tuteng
tuteng requested a review from a team as a code ownerSeptember 7, 2026 10:10

CopilotAI 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.

🟢 Approval recommended

The CRD schema update is consistent with existing patterns in other CRDs and is structurally sound with no identified correctness issues.

Pull request overview

This PR syncs the OxiaCluster CRD schema to include configuration for operator-managed Kubernetes API objects, specifically a PodDisruptionBudget (PDB), aligning Oxia’s CRD capabilities with other StreamNative CRDs that already expose similar knobs.

Changes:

  • Adds spec.apiObjects.pdb to the OxiaCluster CRD schema.
  • Exposes PDB management flags and fields (managed, minAvailable/maxUnavailable, metadata.{labels,annotations,name}, updatePolicy) for customization via the CRD.
File summaries
FileDescription
charts/sn-operator/crds/k8s.streamnative.io_oxiaclusters.yamlExtends the OxiaCluster CRD OpenAPI schema with spec.apiObjects.pdb configuration.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tuteng
tuteng merged commit 528b2de into mainSep 7, 2026
1 check passed
Sign up for freeto 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

@tuteng@labuladong