Skip to content

Do not patch felixconfig or bgpconfig when cluster routing mode is not set#4667

Merged
mazdakn merged 2 commits intotigera:masterfrom
mazdakn:fix-cluster-routing
Apr 10, 2026
Merged

Do not patch felixconfig or bgpconfig when cluster routing mode is not set#4667
mazdakn merged 2 commits intotigera:masterfrom
mazdakn:fix-cluster-routing

Conversation

@mazdakn
Copy link
Copy Markdown
Member

@mazdakn mazdakn commented Apr 9, 2026

Description

When clusterRoutingMode in the installation resource is not set, Operator should not patch FelixConfig or BGPConfig. This allows users to set programClusterRoutes in FelixConfig and BGPConfig without setting clusterRoutingMode in the installation resource.

Fixes: https://tigera.atlassian.net/browse/CORE-12626

Related to #4511

Release Note

TBD

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@mazdakn mazdakn merged commit 5bfadca into tigera:master Apr 10, 2026
6 checks passed
@mazdakn mazdakn deleted the fix-cluster-routing branch April 10, 2026 01:56
mazdakn added a commit to mazdakn/operator that referenced this pull request Apr 10, 2026
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