Skip to content

[v1.38] Deprecate the nonPrivileged field in Installation CRD#4467

Merged
lucastigera merged 2 commits intotigera:release-v1.38from
lucastigera:auto-pick-of-#4433-upstream-release-v1.38
Feb 25, 2026
Merged

[v1.38] Deprecate the nonPrivileged field in Installation CRD#4467
lucastigera merged 2 commits intotigera:release-v1.38from
lucastigera:auto-pick-of-#4433-upstream-release-v1.38

Conversation

@lucastigera
Copy link
Contributor

Cherry-pick history

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 force-pushed the auto-pick-of-#4433-upstream-release-v1.38 branch from 2bc8a1d to 848eaa3 Compare February 23, 2026 22:50
@lucastigera lucastigera merged commit 877bd35 into tigera:release-v1.38 Feb 25, 2026
2 checks passed
@lucastigera lucastigera deleted the auto-pick-of-#4433-upstream-release-v1.38 branch February 25, 2026 17:40
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