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

65 lines
1.6 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.46.20.227 k8sc3
- 89.47.191.230 k8sw1
- 89.45.236.152 k8sw2
- 89.46.20.18 k8sw3
- 89.47.190.78 k8sw4
- 89.45.236.6 k8sw5
- 89.46.21.195 k8sw6
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.46.20.227 k8sc3
- 89.47.191.230 k8sw1
- 89.45.236.152 k8sw2
- 89.46.20.18 k8sw3
- 89.47.190.78 k8sw4
- 89.45.236.6 k8sw5
- 89.46.21.195 k8sw6
'^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:
- 'sthb-lb-1.sunet.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