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

Added variables cilium_enable_host_firewall and cilium_policy_audit_mode for configmap/cilium-config #11230

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ledroide
Copy link
Contributor

@ledroide ledroide commented May 23, 2024

What type of PR is this?

/kind feature

Special notes for your reviewer:

In order to enable (Cilium Host Firewall](https://docs.cilium.io/en/latest/security/host-firewall/) and the recommended PolicyAuditMode that prevents unwanted side effects during testing, we have added 2 variables to cilium role and to inventory (features are disabled by default) :

cilium_enable_host_firewall: false
cilium_policy_audit_mode: false

These features are then added in ConfigMap/cilium-config by cilium role - here set to "true" for the demo. Quotes and capitalized values in this configmap are required.

enable-host-firewall: "True"
policy-audit-mode: "False"

We have added related documentation in docs/cilium.md

Does this PR introduce a user-facing change?:

No facing change. Default settings are set to "false", so there is no difference to cilium behavior when keeping default values.

Add optional support for _Host Firewall_ and _PolicyAuditMode_ features in Cilium

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 23, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @ledroide. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ledroide
Copy link
Contributor Author

The pipeline failed a week ago with error messages that do not have any relation with the changes of this PR.

How can I force these checks to run again ?

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ledroide
Once this PR has been reviewed and has the lgtm label, please assign floryut for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ledroide ledroide changed the title variables cilium_enable_host_firewall and cilium_policy_audit_mode for configmap/cilium-config Added variables cilium_enable_host_firewall and cilium_policy_audit_mode for configmap/cilium-config Jun 14, 2024
@ledroide
Copy link
Contributor Author

ledroide commented Jun 21, 2024

Hello dear reviewers Arthur and Erik @MrFreezeex @ErikJiang.

Since I have pushed this PR a month ago, the check does not pass a test stage with error ci-not-authorized. It looks like I can't do anything about this error.

I had already tried the same changes in March, ref #10989 , and tried solve it by cancelling the first PR and open this one - unfortunately with no more success.

May you please test and approve this PR ?

@yankay
Copy link
Member

yankay commented Jun 21, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants