matrix-ops/global/overlay/etc/puppet/cosmos-rules.yaml

59 lines
1.5 KiB
YAML

# Note that the matching is done with re.match()
.+:
sunet::server:
ssh_allow_from_anywhere: false
'^k8sc[1-9].matrix.test.sunet.se$':
sunet::microk8s::node:
channel: 1.30/stable
peers:
- 89.47.191.81 k8sc1
- 89.47.191.52 k8sc2
- 89.47.190.141 k8sc3
- 89.47.190.223 k8sw1
- 89.47.190.80 k8sw2
- 89.47.191.178 k8sw3
sunet::frontend::register_sites:
sites:
'kube-matrixtest.matrix.test.sunet.se':
frontends:
- 'se-fre-lb-1.sunet.se'
- 'se-tug-lb-1.sunet.se'
port: '443'
'^k8sw[1-9].matrix.test.sunet.se$':
sunet::microk8s::node:
channel: 1.30/stable
peers:
- 89.47.191.81 k8sc1
- 89.47.191.52 k8sc2
- 89.47.190.141 k8sc3
- 89.47.190.223 k8sw1
- 89.47.190.80 k8sw2
- 89.47.191.178 k8sw3
'^k8sc[1-9].matrix.sunet.se$':
sunet::microk8s::node:
channel: 1.30/stable
peers:
- 89.47.190.40 k8sc1
- 89.47.190.118 k8sc2
- 89.47.191.240 k8sc3
- 89.47.190.86 k8sw1
- 89.47.190.135 k8sw2
- 89.47.191.12 k8sw3
sunet::frontend::register_sites:
sites:
'kube-matrix.matrix.sunet.se':
frontends:
- 'se-fre-lb-1.sunet.se'
- 'se-tug-lb-1.sunet.se'
port: '443'
'^k8sw[1-9].matrix.sunet.se$':
sunet::microk8s::node:
channel: 1.30/stable
peers:
- 89.47.190.40 k8sc1
- 89.47.190.118 k8sc2
- 89.47.191.240 k8sc3
- 89.47.190.86 k8sw1
- 89.47.190.135 k8sw2
- 89.47.191.12 k8sw3