Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove defaulting for FloatingIPs field - use code default instead #6415

Conversation

caseydavenport
Copy link
Member

@caseydavenport caseydavenport commented Jul 22, 2022

Description

Defaulting this in the CRD causes problems on upgrades, because it
triggers an autoamtic Typha update to a Felix that doesn't yet
understand the new field, which causes Felix to
cyclically restart.

I think a proper fix for this would be to update Felix so that it
ignores updates for fields that it doesn't recognize, but this is a
quicker option.

Related issues/PRs

Fixes #6294

Todos

  • Tests
  • Documentation
  • Release note

Release Note

Remove API-level defaulting for FloatingIPs field - use code default instead

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@caseydavenport caseydavenport requested a review from a team as a code owner July 22, 2022 15:54
@marvin-tigera marvin-tigera added this to the Calico v3.24.0 milestone Jul 22, 2022
@marvin-tigera marvin-tigera added docs-pr-required Change is not yet documented release-note-required Change has user-facing impact (no matter how small) labels Jul 22, 2022
@caseydavenport caseydavenport added docs-not-required Docs not required for this change merge-when-ready and removed docs-pr-required Change is not yet documented labels Jul 25, 2022
@caseydavenport caseydavenport merged commit 598bce6 into projectcalico:master Jul 25, 2022
@caseydavenport caseydavenport deleted the casey-fix-upgrade-defaulting branch July 25, 2022 23:31
@caseydavenport caseydavenport added cherry-pick-completed PR has been cherry-picked and removed cherry-pick-candidate labels Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-completed PR has been cherry-picked docs-not-required Docs not required for this change merge-when-ready release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot upgrade to v3.23.2
3 participants