Skip to content

Auto: sync API from tigera/calico-private [release-calient-v3.23] - #326

Merged
marvin-tigera merged 1 commit into
release-calient-v3.23from
auto-api-update-release-calient-v3.23
Oct 1, 2026
Merged

marvin-tigera merged 1 commit into
release-calient-v3.23from
auto-api-update-release-calient-v3.23

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Automated sync of API files from tigera/calico-private release-calient-v3.23
branch into this repo via make -f Makefile.local update.

Triggered by scheduled workflow.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The CRD does not enforce the documented incompatibility between non-Auto modes and peerSelector.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds BGP peer connection initiation mode support across the API and generated artifacts.

Changes:

  • Adds Auto, Active, and Passive connection modes.
  • Updates apply configuration, OpenAPI, and CRD schemas.
File Description
pkg/​apis/​projectcalico/​v3/​bgppeer.go Defines the new connection mode API.
pkg/​client/​applyconfiguration_generated/​projectcalico/​v3/​bgppeerspec.go Adds apply-configuration support.
pkg/​openapi/​generated.openapi.go Exposes the field in OpenAPI.
config/​crd/​projectcalico.org_bgppeers.yaml Adds its CRD schema and default.
Files not reviewed (1)
  • pkg/client/applyconfiguration_generated/projectcalico/v3/bgppeerspec.go: Generated file

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

Comment on lines +213 to +214
// +kubebuilder:validation:Enum=Auto;Active;Passive
ConnectionMode BGPPeerConnectionMode `json:"connectionMode,omitempty" validate:"omitempty,bgpPeerConnectionMode"`
@marvin-tigera
marvin-tigera merged commit cf9820f into release-calient-v3.23 Oct 1, 2026
3 checks passed
@marvin-tigera
marvin-tigera deleted the auto-api-update-release-calient-v3.23 branch October 1, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants