28 lines
557 B
YAML
28 lines
557 B
YAML
db:
|
|
default_user:
|
|
user: "postgres"
|
|
name: "k3s"
|
|
user: "k3s"
|
|
password: "{{ vault.k3s.db.password }}"
|
|
listen_address: "{{ k3s.db.ip }}"
|
|
|
|
k3s:
|
|
net: "192.168.20.0/24"
|
|
server:
|
|
ips:
|
|
- 192.168.20.21
|
|
- 192.168.20.24
|
|
loadbalancer:
|
|
ip: 192.168.20.22
|
|
default_port: 6443
|
|
db:
|
|
ip: 192.168.20.23
|
|
default_port: "5432"
|
|
agent:
|
|
ips:
|
|
- 192.168.20.25
|
|
- 192.168.20.26
|
|
- 192.168.20.27
|
|
|
|
k3s_db_connection_string: "postgres://{{db.user}}:{{db.password}}@{{k3s.db.ip}}:{{k3s.db.default_port}}/{{db.name}}"
|