Remove monit permit access and NATS firewall setup#470
Remove monit permit access and NATS firewall setup#470rkoster wants to merge 2 commits intocloudfoundry:ubuntu-jammyfrom
Conversation
Remove the cgroup v1 net_cls-based monit API access control mechanism including the monit wrapper script, helper functions, and iptables rules. The monit binary now runs directly without a wrapper. Access control will be managed by the bosh-agent's internal firewall implementation. Related to cloudfoundry/bosh-agent#399
Stop sourcing monit-access-helper.sh and calling permit_monit_access when starting the bosh-agent. The agent will manage its own firewall access internally instead of using the cgroup-based helper. This completes the removal of the permit_monit_access functionality now that pxc-release (the only consumer) no longer uses it. Related to cloudfoundry/bosh-agent#399 Related to cloudfoundry/pxc-release#97
|
Don't merge before: cloudfoundry/bosh-agent#399 |
|
Per the comment from @colins from the related pxc-release PR
Adding some color here: This Would it be acceptable if we kept That may make sense as a follow up backwards compatibility PR. |
|
Yes I'm not against backward compatibility, it is just out of scope for the use case that I'm interested in so me personally won't be doing the work. That being said I'm happy to review a PR adding backward compatibility. |
Summary
The monit binary now runs directly without a wrapper. Access control will be managed by the bosh-agent's internal firewall implementation.
This prepares the stemcell builder for the bosh-agent changes that move firewall management into the agent itself.
Related