feat: add samba and proxmox modules, update config with node secrets
This commit is contained in:
parent
a80be5d8aa
commit
9c8c771cb1
7 changed files with 203 additions and 6 deletions
|
|
@ -4,8 +4,9 @@ class IngressManager:
|
|||
def __init__(self, config):
|
||||
self.host = config.get('haproxy.host')
|
||||
self.user = config.get('haproxy.user', 'root')
|
||||
self.ssh_key = config.get('haproxy.ssh_key')
|
||||
self.client = SSHClient(self.host, self.user, self.ssh_key)
|
||||
self.ssh_key = config.get('haproxy.ssh_key_path')
|
||||
self.password = config.get('haproxy.password')
|
||||
self.client = SSHClient(self.host, self.user, self.ssh_key, self.password)
|
||||
|
||||
def add(self, domain, ip, port, https=False):
|
||||
cmd = f"ingress-manager add {domain} {ip} {port}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue