2024-09-19 23:10:00 +02:00
|
|
|
db:
|
|
|
|
default_user:
|
2024-09-20 15:01:33 +02:00
|
|
|
user: "postgres"
|
2024-09-19 23:10:00 +02:00
|
|
|
name: "k3s"
|
|
|
|
user: "k3s"
|
2024-09-20 15:01:33 +02:00
|
|
|
password: "{{ vault.k3s.db.password }}"
|
|
|
|
listen_address: "{{ k3s.db.ip }}"
|
2024-09-19 23:10:00 +02:00
|
|
|
|
|
|
|
k3s:
|
2024-09-20 15:01:33 +02:00
|
|
|
net: "192.168.20.0/24"
|
2024-09-19 23:10:00 +02:00
|
|
|
server:
|
|
|
|
ips:
|
|
|
|
- 192.168.20.21
|
|
|
|
- 192.168.20.24
|
|
|
|
loadbalancer:
|
2024-09-20 15:01:33 +02:00
|
|
|
ip: 192.168.20.22
|
2024-09-19 23:10:00 +02:00
|
|
|
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}}"
|