Make blocked and whitelist maps multi tenant

This commit is contained in:
Thomas Lynch
2023-09-07 16:47:21 +10:00
parent d687e54d17
commit 93cac69798
9 changed files with 43 additions and 81 deletions

View File

@@ -1,9 +1,8 @@
---
config_version: 2
dataplaneapi:
tls:
host: 127.0.0.1
port: 2001
host: 0.0.0.0
port: 2001
resources:
update_map_files: true
maps_dir: /etc/haproxy/map
@@ -16,6 +15,7 @@ dataplaneapi:
- admin:
name: admin
insecure: true
password: admin
haproxy:
config_file: /etc/haproxy/haproxy.cfg
haproxy_bin: /usr/local/sbin/haproxy