chore: add firewall rule to allow cluster machines to push to other machines unregistry

This commit is contained in:
Pasha Sviderski
2025-10-01 12:34:03 +10:00
parent a217643ac9
commit fa004d63bb
3 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ func newClusterController(
func (cc *clusterController) Run(ctx context.Context) error {
defer close(cc.stopped)
if err := firewall.ConfigureIptablesChains(); err != nil {
if err := firewall.ConfigureIptablesChains(network.MachineIP(cc.state.Network.Subnet)); err != nil {
return fmt.Errorf("configure iptables chains: %w", err)
}