Skip to content

Commit

Permalink
Update network isolation samples as a pre step for route mgmt
Browse files Browse the repository at this point in the history
Update samples to support the old and new configuration used to
setup the services. This allows ci jobs to properly configure the
new services with their service overrides.

Cleanup of the samples will then be done in the openstack-operator
PR openstack-k8s-operators#457.

Jira: OSP-26690
  • Loading branch information
stuggi committed Sep 25, 2023
1 parent ce7d372 commit b79058b
Show file tree
Hide file tree
Showing 4 changed files with 412 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ spec:
- ipAddressPool: ctlplane
loadBalancerIPs:
- 192.168.122.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: ctlplane
metallb.universe.tf/allow-shared-ip: ctlplane
metallb.universe.tf/loadBalancerIPs: 192.168.122.80
spec:
type: LoadBalancer
options:
- key: server
values:
Expand All @@ -26,6 +35,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
cinderScheduler:
replicas: 1
cinderBackup:
Expand All @@ -48,6 +67,15 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- storage
glanceAPIExternal:
Expand All @@ -62,6 +90,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
mariadb:
enabled: false
templates:
Expand Down Expand Up @@ -93,6 +131,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
horizon:
Expand All @@ -107,13 +155,32 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
secret: osp-secret
metadataServiceTemplate:
externalEndpoints:
- endpoint: internal
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
manila:
template:
manilaAPI:
Expand All @@ -123,6 +190,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
manilaScheduler:
Expand Down Expand Up @@ -160,6 +237,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
rabbitmq:
templates:
rabbitmq:
Expand All @@ -168,12 +255,28 @@ spec:
- 172.17.0.85
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.85
spec:
type: LoadBalancer
rabbitmq-cell1:
externalEndpoint:
loadBalancerIPs:
- 172.17.0.86
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.86
spec:
type: LoadBalancer
heat:
enabled: false
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ spec:
- ipAddressPool: ctlplane
loadBalancerIPs:
- 192.168.122.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: ctlplane
metallb.universe.tf/allow-shared-ip: ctlplane
metallb.universe.tf/loadBalancerIPs: 192.168.122.80
spec:
type: LoadBalancer
options:
- key: server
values:
Expand All @@ -26,6 +35,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
cinderScheduler:
replicas: 1
cinderBackup:
Expand All @@ -48,6 +67,15 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- storage
glanceAPIExternal:
Expand All @@ -62,6 +90,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
mariadb:
enabled: false
templates:
Expand Down Expand Up @@ -93,6 +131,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
horizon:
Expand All @@ -107,13 +155,32 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
secret: osp-secret
metadataServiceTemplate:
externalEndpoints:
- endpoint: internal
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
manila:
template:
manilaAPI:
Expand All @@ -123,6 +190,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
networkAttachments:
- internalapi
manilaScheduler:
Expand Down Expand Up @@ -160,6 +237,16 @@ spec:
ipAddressPool: internalapi
loadBalancerIPs:
- 172.17.0.80
override:
service:
internal:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
spec:
type: LoadBalancer
rabbitmq:
templates:
rabbitmq:
Expand All @@ -168,12 +255,28 @@ spec:
- 172.17.0.85
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.85
spec:
type: LoadBalancer
rabbitmq-cell1:
externalEndpoint:
loadBalancerIPs:
- 172.17.0.86
ipAddressPool: internalapi
sharedIP: false
override:
service:
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.86
spec:
type: LoadBalancer
heat:
enabled: false
template:
Expand Down
Loading

0 comments on commit b79058b

Please sign in to comment.