Finished lb and db
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
19
group_vars/k3s/vars.yml
Normal file
19
group_vars/k3s/vars.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
db:
|
||||
default_user:
|
||||
password: "{{ vault.k3s.postgres.default_user.password }}"
|
||||
name: "k3s"
|
||||
user: "k3s"
|
||||
password: "{{ vault.k3s.db.password}}"
|
||||
|
||||
k3s:
|
||||
server:
|
||||
ips:
|
||||
- 192.168.20.21
|
||||
- 192.168.20.24
|
||||
loadbalancer:
|
||||
ips: 192.168.20.22
|
||||
db:
|
||||
ip: 192.168.20.23
|
||||
default_port: "5432"
|
||||
|
||||
k3s_db_connection_string: "postgres://{{db.user}}:{{db.password}}@{{k3s.db.ip}}:{{k3s.db.default_port}}/{{db.name}}"
|
||||
Reference in New Issue
Block a user