mxschmitt / ui-driver-hetzner

Rancher UI driver for the Hetzner Cloud docker driver.
https://mxschmitt.github.io/ui-driver-hetzner
Apache License 2.0
254 stars 50 forks source link

Add Firewall support #115

Closed janus-reith closed 3 years ago

janus-reith commented 3 years ago

Solves #114

I tried to stick as close to the existing structure as possible. Currently it only displays the list of firewalls to choose from by name, I'm happy for suggestions on how to maybe display the included in- and outbound rules aswell, since they are queryable by the api, but so far I haven't had a clean way in mind to do that.

As for the disclaimer on the label, I just copied it from the Networks label since it seems to apply here as well (BTW Networks doesn't seem to be in beta anymore).

Tested it and it works fine for me, firewalls are listed, and selected firewalls are applied to created machines.

mxschmitt commented 3 years ago

Awesome work @janus-reith 🚀