-
Notifications
You must be signed in to change notification settings - Fork 70
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
Inject user provided nft rules #806
Inject user provided nft rules #806
Conversation
Skipping CI for Draft Pull Request. |
015dcb1
to
8d227c7
Compare
Looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- name: "Ensure we drop connections on TCP/1211" | ||
lineinfile: | ||
path: /etc/nftables/edpm-rules.nft | ||
line: 'add rule inet filter EDPM_INPUT tcp dport { 1211 } ct state new counter drop comment "010 testing action"' | ||
register: line_in_file | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is genuine pre-commit job failure with spaces here.
8d227c7
to
2dd62ff
Compare
recheck |
2dd62ff
to
a1fc9f2
Compare
This change ensures that user provided rules are injected into the edpm_nftables_src directory and loaded during rule generation. The change adds a new variable to facilitate a user interface for rule injection edpm_nftables_user_rules. Signed-off-by: Brendan Shephard <[email protected]>
Signed-off-by: Brendan Shephard <[email protected]>
a1fc9f2
to
08722fa
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bshephar, fao89, slagle The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b261ece
into
openstack-k8s-operators:main
This change ensures that user provided rules are injected into the edpm_nftables_src directory and loaded during rule generation.
The change adds a new variable to facilitate a user interface for rule injection edpm_nftables_user_rules.
Jira: https://issues.redhat.com/browse/OSPRH-11347