Skip to content

Commit

Permalink
Bug fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Apr 15, 2024
1 parent ecb9560 commit d3a3a75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/health_central.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@ def set_traefik_proxy():

template_info = {"routing_port": net_info['port'],
"url": net_info['url'],
"traefik_name": traefik_service_name}
"k8_service": pod.k8_name}
match net_info['protocol']:
case "tcp":
tcp_proxy_info[pod.k8_name] = template_info
tcp_proxy_info[traefik_service_name] = template_info
case "http":
http_proxy_info[pod.k8_name] = template_info
http_proxy_info[traefik_service_name] = template_info
case "postgres":
postgres_proxy_info[pod.k8_name] = template_info
postgres_proxy_info[traefik_service_name] = template_info
case "local_only":
# when users only need networking to connect to other pods in the same namespace
pass
Expand Down

0 comments on commit d3a3a75

Please sign in to comment.