fix(helm): ensure tools deployment honors release name#1416
fix(helm): ensure tools deployment honors release name#1416EItanya merged 1 commit intokagent-dev:mainfrom
Conversation
Signed-off-by: Brian Fox <878612+onematchfox@users.noreply.github.com>
37f308b to
aaf1ba1
Compare
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug where the kagent-tools Helm sub-chart was ignoring the Helm release name due to a hardcoded fullnameOverride: kagent-tools in the parent chart's default values. This caused the service to always be named kagent-tools instead of {{ .Release.Name }}-tools, leading to DNS resolution failures when the release name was not kagent.
Changes:
- Removes
fullnameOverride: kagent-toolswhich was hardcoding the sub-chart's service name - Adds
nameOverride: toolsso the sub-chart generates its service name as{{ .Release.Name }}-tools, properly honoring the Helm release name
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@EItanya Heads-up, this change does result in the labels of the I personally don't have an issue recreating the |
|
P.S. This is ultimately be the cause of #1427 (not sure how that person managed to upgrade the deployment but not the service). And... upgrading the subchart to include kagent-dev/tools#47 will also address the issue and prevent the need to recreate the deployment. |
I will release tools and then do a new release of kagent. |
|
Thanks. And sorry again for the break + extra work |
Replacement for #1192 since that seems to have gone stale.
Fixes #1190