Skip to content

Commit

Permalink
Merge pull request #338 from eduolivares/bgp+octavia
Browse files Browse the repository at this point in the history
[BGP_DT01] Enable octavia

Depends-On: openstack-k8s-operators/ci-framework#2120

Reviewed-by: Andrew Bays <andrew.bays@gmail.com>
  • Loading branch information
softwarefactory-project-zuul[bot] authored Oct 24, 2024
2 parents a0cf8f9 + 573df6a commit 65b46e3
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 1 deletion.
3 changes: 3 additions & 0 deletions automation/mocks/bgp_dt01.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,9 @@ cifmw_networking_env_definition:
start: 172.23.0.30
start_host: 30
ipv6_ranges: []
ipv4_routes:
- destination: "172.24.0.0/16"
gateway: "172.23.0.150"
netconfig:
ipv4_ranges:
- end: 172.23.0.250
Expand Down
48 changes: 48 additions & 0 deletions dt/bgp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,54 @@ replacements:
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaAPI.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaAPI.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaHealthManager.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaHealthManager.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaHousekeeping.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaHousekeeping.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaWorker.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaWorker.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
Expand Down
14 changes: 13 additions & 1 deletion examples/dt/bgp/bgp_dt01/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,33 @@ data:
enabled: true

octavia:
enabled: false
enabled: true
amphoraImageContainerImage: quay.io/gthiemonge/octavia-amphora-image
apacheContainerImage: registry.redhat.io/ubi9/httpd-24:latest
octaviaAPI:
networkAttachments:
- internalapi
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHousekeeping:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHealthManager:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaWorker:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
ovn:
ovnController:
Expand Down
13 changes: 13 additions & 0 deletions examples/dt/bgp/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,28 @@ data:
octaviaAPI:
networkAttachments:
- internalapi
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHousekeeping:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHealthManager:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaWorker:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
ovn:
ovnController:
Expand Down

0 comments on commit 65b46e3

Please sign in to comment.