-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
variables cilium_enable_host_firewall and cilium_policy_audit_mode for configmap/cilium-config #10989
Conversation
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 Once the patch is verified, the new status will be reflected by the 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/test-infra repository. |
/ok-to-test |
I have a doubt about the right choice for conditionals in the cilium-config template at path Here is what I wrote, just because many options are implemented this way. {% if cilium_enable_host_firewall %}
enable-host-firewall: "true"
{% endif %}
{% if cilium_policy_audit_mode %}
policy-audit-mode: "true"
{% endif %} Let's say I want to enable policy-audit-mode temporarily in order to set my rules. Si I set the variable But what if, after my whole setting, I want to explicitly set Maybe we had better always rely on default values for the role - that are already set in This would simply be written this way, instead of conditionals : enable-host-firewall: {{ cilium_enable_host_firewall | quote }}
policy-audit-mode: {{ cilium_policy_audit_mode | quote }} What do you think ? |
PR needs rebase. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ledroide 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 |
What type of PR is this?
Special notes for your reviewer:
In order to enable (Cilium Host Firewall](https://docs.cilium.io/en/v1.15/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) :
These features are then added in ConfigMap/cilium-config by cilium role
We have added related documentation in
docs/cilium.md
Does this PR introduce a user-facing change?: