Skip to content

Commit

Permalink
fix: bind service with correct container port for korrel8r (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbernalp authored Jun 7, 2024
1 parent facefdc commit 4edf774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/uiplugin/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ func newKorrel8rDeployment(name string, namespace string, info UIPluginInfo) *ap
{
Name: name,
Image: info.Korrel8rImage,
Command: []string{"korrel8r", "web", "--https=:8443", "--cert=/secrets/tls.crt", "--key=/secrets/tls.key", "--config=/config/korrel8r.yaml"},
Command: []string{"korrel8r", "web", fmt.Sprintf("--https=:%d", port), "--cert=/secrets/tls.crt", "--key=/secrets/tls.key", "--config=/config/korrel8r.yaml"},
Ports: []corev1.ContainerPort{
{
ContainerPort: 8443,
ContainerPort: port,
Protocol: corev1.ProtocolTCP,
},
},
Expand Down

0 comments on commit 4edf774

Please sign in to comment.