You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(helm): derive metrics targetPort from bindAddress
The earlier commits exposed both `controller.metrics.bindAddress` and
`controller.metrics.service.targetPort` as independent values, so a user
could shift the runtime bind without moving the Service target and end
up with a Service that points at a port the controller binary is not
listening on. Drop the separate `service.targetPort` knob and derive
both the container port and the Service targetPort from `bindAddress`
via `regexFind`, matching the `kmcp` sub-chart's pattern.
Add a test that asserts the derived ports stay in sync when
`bindAddress` is customised, plus a regression test that documents the
`controller.env` escape hatch (user-supplied env vars are emitted after
chart defaults, so the user's value wins at runtime). The escape hatch
still cannot move the Service target; values.yaml now flags this.
Addresses review feedback on kagent-dev#1803.
Signed-off-by: Daniel Orbach <ddorbach@gmail.com>
0 commit comments