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

daemon: remove deprecated force-local-policy-eval-at-source option #24727

Merged

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Apr 4, 2023

Following its deprecation in commit 0ded29b ("daemon: Deprecate force-local-policy-eval-at-source") for Cilium v1.13, remove it for Cilium v1.14.

Keep the FORCE_LOCAL_POLICY_EVAL_AT_SOURCE macro defined in bpf code only, as this will still be needed by upcoming changes.

Ref. #15452

@tklauser tklauser added area/daemon Impacts operation of the Cilium daemon. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. release-blocker/1.14 This issue will prevent the release of the next version of Cilium. labels Apr 4, 2023
@tklauser tklauser requested review from a team as code owners April 4, 2023 09:31
@tklauser
Copy link
Member Author

tklauser commented Apr 4, 2023

/test

@tklauser
Copy link
Member Author

tklauser commented Apr 4, 2023

@tklauser tklauser force-pushed the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch from 64f219e to 47f8b6a Compare April 4, 2023 15:09
@tklauser
Copy link
Member Author

tklauser commented Apr 4, 2023

/test

Copy link
Contributor

@zacharysarah zacharysarah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from a docs perspective 👍🏻

Screenshot 2023-04-04 at 1 42 28 PM

😻

bpf/lib/l3.h Outdated Show resolved Hide resolved
@tklauser tklauser force-pushed the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch from 47f8b6a to cebddcd Compare April 5, 2023 09:14
@tklauser tklauser requested a review from aspsk April 5, 2023 09:15
@tklauser
Copy link
Member Author

tklauser commented Apr 5, 2023

/test

Documentation/operations/upgrade.rst Outdated Show resolved Hide resolved
@tklauser tklauser force-pushed the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch from cebddcd to 5669fb7 Compare April 6, 2023 14:14
@tklauser
Copy link
Member Author

tklauser commented Apr 6, 2023

/test

@tklauser tklauser force-pushed the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch from 5669fb7 to 3143381 Compare April 11, 2023 08:27
@tklauser
Copy link
Member Author

tklauser commented Apr 11, 2023

/test

Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed:

Click to show.

Test Name

K8sDatapathConfig Host firewall With VXLAN and endpoint routes

Failure Output

FAIL: Failed to reach 10.0.1.253:80 from testclient-host-67qrg

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/1752/

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.26-kernel-net-next so I can create one.

@tklauser
Copy link
Member Author

tklauser commented Apr 11, 2023

@tklauser
Copy link
Member Author

Reviews are in and all CI except for ci-eks passed. That one is a known failure that got fixed on master by #24803. Marking as ready to merge.

@tklauser tklauser added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 12, 2023
@tklauser tklauser force-pushed the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch from 3143381 to be8a45d Compare April 12, 2023 08:57
@tklauser tklauser removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 12, 2023
@tklauser
Copy link
Member Author

tklauser commented Apr 12, 2023

/test

Job 'Cilium-PR-K8s-1.24-kernel-5.4' failed:

Click to show.

Test Name

K8sDatapathConfig Host firewall With VXLAN and endpoint routes

Failure Output

FAIL: Error deleting resource /home/jenkins/workspace/Cilium-PR-K8s-1.24-kernel-5.4/src/github.com/cilium/cilium/test/k8s/manifests/host-policies.yaml: Cannot retrieve "cilium-979h8"'s policy revision: cannot get policy revision: ""

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.24-kernel-5.4/1720/

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.24-kernel-5.4 so I can create one.

@tklauser
Copy link
Member Author

tklauser commented Apr 12, 2023

Following its deprecation in commit 0ded29b ("daemon: Deprecate
force-local-policy-eval-at-source") for Cilium v1.13, remove it for
Cilium v1.14.

Keep the FORCE_LOCAL_POLICY_EVAL_AT_SOURCE macro defined in bpf code
only, as this will still be needed by upcoming changes.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser force-pushed the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch from be8a45d to 70059b3 Compare April 13, 2023 06:42
@tklauser
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 13, 2023
@tklauser tklauser merged commit 550aafc into master Apr 13, 2023
57 checks passed
@tklauser tklauser deleted the pr/tklauser/drop-deprecated-force-local-policy-eval-at-source branch April 13, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon Impacts operation of the Cilium daemon. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-blocker/1.14 This issue will prevent the release of the next version of Cilium. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants