danb35 / deploy-freenas

Python script to automate deploying TLS certificates to FreeNAS servers
GNU General Public License v3.0
199 stars 56 forks source link

fix: Validate if app has ingress set #55

Closed subutux closed 2 years ago

subutux commented 2 years ago

This fixes the bug mentioned in #51

It is possible for an app to not have an ingress set, which results in an KeyError. This fixes this by first checking if the config has an ingress key set.