Fix kagent-tools fullnameOverride#1192
Conversation
Signed-off-by: Sanghyuk Lee <rickg9408@gmail.com>
|
IIRC this used to be necessary, but I can't for the life of me remember why, I will respond again if I can think of it 😆 |
a827a95 to
c2d5eb4
Compare
|
@EItanya During the CI testing, 1 CI has failed. I investigated the CI logs and I found that both Reference: https://github.com/kagent-dev/tools/blob/main/helm/kagent-tools/templates/clusterrolebinding.yaml So that I added this commit for this conflict. May I ask for this to be checked as well? Thanks. |
Signed-off-by: Sanghyuk Lee <ricky9408@gmail.com>
c2d5eb4 to
21c7f60
Compare
|
The CI failed again. Seems there are dockerhub rate limit exceeded issue. May I ask for the retry of the failed job? Thanks. Log: |
Re-running now |
|
@onematchfox I'd love to get your eyes on this. It seems simple but it's the type of change with potential hiding dragons and you're an expert at seeing those |
| # ============================================================================== | ||
|
|
||
| kagent-tools: | ||
| fullnameOverride: kagent-tools |
There was a problem hiding this comment.
| fullnameOverride: kagent-tools | |
| nameOverride: tools |
Removing fullnameOverride will resulting in any resources created by the kagent-tools chart being created using just the release name supplied when installing this chart. See https://github.com/kagent-dev/tools/blob/9cc60665518f6c0d0bf11f10fbc07f220efa019f/helm/kagent-tools/templates/_helpers.tpl#L8-L21
I.e. in the default scenario this will result in thge deployment kagent-tools being deleted and a new deployment called kagent being created. To preserve the existing name whilst also honouring the release name supplied when installing this chart we should make use of nameOverride instead. This is how this is done for the kmcp chart as well.
FYI: This is also why you ended up having to change the name of the cluster role bindings. So, you should be able to revert that change after making this one.
FIx this issue #1190