Skip to content

Commit

Permalink
Add traefik-rgw to list of lb services to be patched
Browse files Browse the repository at this point in the history
Add traefik-rgw to list of lb services in the step
PatchLoadBalancerServicesStep if there are storage
nodes

Fixes: #2074072
  • Loading branch information
hemanthnakkina committed Jul 25, 2024
1 parent 3ac65f8 commit 6d40137
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sunbeam-python/sunbeam/commands/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ def __init__(
)
self.client = client
self.lb_annotation = K8SHelper.get_loadbalancer_annotation()
if self.client.cluster.list_nodes_by_role("storage"):
self.SERVICES.append("traefik-rgw")

def _get_service(self, service_name: str, find_lb: bool = True) -> Service:
"""Look up a service by name, optionally looking for a LoadBalancer service."""
Expand Down

0 comments on commit 6d40137

Please sign in to comment.