Skip to content

Deprecate the nonPrivileged field in Installation CRD#4433

Open
lucastigera wants to merge 1 commit intotigera:masterfrom
lucastigera:core-12217-deprecate-nonprivileged
Open

Deprecate the nonPrivileged field in Installation CRD#4433
lucastigera wants to merge 1 commit intotigera:masterfrom
lucastigera:core-12217-deprecate-nonprivileged

Conversation

@lucastigera
Copy link
Contributor

Description

Since the iptables version bump to v1.8.8, the non-privileged mode is no longer supported. This PR deprecates the Installation.spec.nonPrivileged field.

Changes:

  • Removed the logic that consumes this field in the node render path.
  • Marked the field as deprecated in the Installation CRD.
  • Added validation: if a user sets the field to Enabled, the Operator sets Calico to Degraded with a clear error message explaining that the feature is deprecated and no longer supported.

Release Note

- Dropped support to the non-privileged mode and deprecated the `Installation.spec.nonPrivileged` field. The Operator ignores this setting and will mark Calico as Degraded if it is set to Enabled.

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.

@lucastigera lucastigera requested a review from a team as a code owner February 12, 2026 23:11
@marvin-tigera marvin-tigera added this to the v1.42.0 milestone Feb 12, 2026
@lucastigera lucastigera force-pushed the core-12217-deprecate-nonprivileged branch from 4db478e to f804929 Compare February 13, 2026 04:09
@lucastigera lucastigera force-pushed the core-12217-deprecate-nonprivileged branch from f804929 to 95dca09 Compare February 13, 2026 05:00
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.

2 participants