Reads the persisted configuration that was created previously. Deletes the resources that were created there.
()
| 136 | |
| 137 | |
| 138 | def cleanup(): |
| 139 | """ |
| 140 | Reads the persisted configuration that was created previously. |
| 141 | Deletes the resources that were created there. |
| 142 | """ |
| 143 | config = get_config_from_file() |
| 144 | delete_tunnel(config) |
| 145 | delete_dns(config, config["ingress"][0]["hostname"]) |
| 146 | |
| 147 | |
| 148 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…