Skip to content

Auto: sync versions [release-v1.44] - #5298

Open
github-actions[bot] wants to merge 1 commit into
release-v1.44from
auto-sync-versions-release-v1.44
Open

Auto: sync versions [release-v1.44]#5298
github-actions[bot] wants to merge 1 commit into
release-v1.44from
auto-sync-versions-release-v1.44

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Automated sync of versions and CRDs from Calico and Calico Enterprise into
release-v1.44 via make gen-versions.

Triggered by scheduled workflow.

Copilot AI lite review requested due to automatic review settings September 2, 2026 19:07
@github-actions
github-actions Bot requested a review from a team as a code owner September 2, 2026 19:07

Copilot AI 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 changes are low-risk generated embed wrappers; the only feedback is minor naming/documentation clarity in the new admission embed helper.

Pull request overview

Automated update on release-v1.44 to sync in generated/versioned assets by adding small Go wrappers that expose embedded YAML content (CRDs and admission policies) as fs.FS for consumers.

Changes:

  • Add embed.go wrappers for Enterprise projectcalico.org v3 CRDs (v3.projectcalico.org) and v1 CRD-mode CRDs (v1.crd.projectcalico.org).
  • Add an embed.go wrapper for Enterprise admission policy YAMLs under pkg/imports/admission/enterprise.
File summaries
File Description
pkg/imports/crds/enterprise/v3.projectcalico.org/embed.go Introduces a small fs.FS accessor backed by go:embed for Enterprise v3 projectcalico.org CRD YAMLs.
pkg/imports/crds/enterprise/v1.crd.projectcalico.org/embed.go Introduces a small fs.FS accessor backed by go:embed for Enterprise v1 CRD-mode CRD YAMLs.
pkg/imports/admission/enterprise/embed.go Introduces a small fs.FS accessor backed by go:embed for Enterprise admission policy YAMLs.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

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

Comment on lines +15 to +16
// Package admission serves the generated admission policies to the components
// that install them, so nothing has to keep a copy of its own.
Comment on lines +24 to +30
//go:embed *.yaml
var crds embed.FS

// FS returns the admission policy YAML in this directory.
func FS() fs.FS {
return crds
}
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