feat: add ceph-dashboard to haproxy
Build / precommit (pull_request) Successful in 4m30s

- add profile to export haproxy backend
- add new cert for dashboard.ceph.unkin.net
- extend balancemember with ipaddress attribute
This commit is contained in:
2025-08-13 21:29:56 +10:00
parent 83bb3e1085
commit 6f3198150e
5 changed files with 54 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
class profiles::ceph::dashboard (
Stdlib::IP::Address $ipaddress = $facts['networking']['ip'],
){
# export haproxy balancemember
profiles::haproxy::balancemember { "${facts['networking']['fqdn']}_9443":
service => 'be_ceph_dashboard',
ipaddress => $ipaddress,
ports => [9443],
options => [
"cookie ${facts['networking']['hostname']}",
'ssl',
'verify none',
'check',
'inter 2s',
'rise 3',
'fall 2',
]
}
}