From db79568c1689c715fcbc262d7885cc7d9b3cc042 Mon Sep 17 00:00:00 2001 From: gonzalezzfelipe Date: Thu, 31 Oct 2024 17:12:59 -0300 Subject: [PATCH] fix: Service --- src/custom_resource.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/custom_resource.rs b/src/custom_resource.rs index a3c216f..60d6e10 100644 --- a/src/custom_resource.rs +++ b/src/custom_resource.rs @@ -276,6 +276,7 @@ impl HydraDoomNode { selector: Some(labels), ports: Some(vec![ ServicePort { + name: Some("websocket".to_string()), port: constants.port, target_port: Some( k8s_openapi::apimachinery::pkg::util::intstr::IntOrString::Int( @@ -286,6 +287,7 @@ impl HydraDoomNode { ..Default::default() }, ServicePort { + name: Some("metrics".to_string()), port: constants.metrics_port, target_port: Some( k8s_openapi::apimachinery::pkg::util::intstr::IntOrString::Int(