Skip to content

fix: render ModelConfig TLS in Helm chart - #1999

Merged
EItanya merged 4 commits into
kagent-dev:mainfrom
andreivince:fix/modelconfig-chart-tls
Jun 15, 2026
Merged

EItanya merged 4 commits into
kagent-dev:mainfrom
andreivince:fix/modelconfig-chart-tls

Conversation

@andreivince

Copy link
Copy Markdown
Contributor

Closes #1991.

The chart-generated default ModelConfig already rendered provider, model, API key secret, defaultHeaders, and provider-specific config, but it dropped providers.<name>.tls. That meant the CRD supported ModelConfig TLS settings, while users installing through the chart could not pass them into the default ModelConfig.

This adds the missing TLS passthrough in templates/modelconfig.yaml and covers it with a Helm unit test. I also added a small commented example in values.yaml so the supported shape is easier to find.

I verified this with:

  • Added the Helm regression test first and confirmed it failed on missing spec.tls.*
  • helm unittest -f 'tests/modelconfig_test.yaml' helm/kagent
  • make helm-test
  • helm lint helm/kagent
  • helm lint helm/kagent-crds
  • Exact CI Helm v3.18.0 against the kagent, querydoc, and grafana-mcp chart unit tests
  • Render checks for all built-in provider defaults with TLS set
  • kubeconform against the rendered chart and CRDs
  • Temporary kind cluster with CRDs installed and a server-side Helm dry run using TLS values

Signed-off-by: andreivince <andreivince21@gmail.com>
Copilot AI review requested due to automatic review settings June 11, 2026 17:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the bug Something isn't working label Jun 11, 2026
@andreivince

Copy link
Copy Markdown
Contributor Author

:)

@andreivince

Copy link
Copy Markdown
Contributor Author

Pretty sure gotta re run the build, had the same issue my last PR

@EItanya
EItanya merged commit 1d08068 into kagent-dev:main Jun 15, 2026
21 checks passed
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
kagent 0.9.8

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre><!-- Release notes generated using configuration in .github/release.yml at v0.9.8 -->

## What's Changed
### Features
* feat(bedrock): add prompt caching via CachePoint markers by @skashmeri in kagent-dev/kagent#1940
### Bug Fixes
* fix(bedrock): stream events incrementally instead of buffering by @mesutoezdil in kagent-dev/kagent#1989
* fix: remove optional label from agent description field by @tuguldur-dev in kagent-dev/kagent#2013
* fix(adk): write materialized secret files with 0600 permissions by @mesutoezdil in kagent-dev/kagent#2011
* fix: enable vertical scroll in onboarding wizard by @tuguldur-dev in kagent-dev/kagent#2020
* fix: render ModelConfig TLS in Helm chart by @andreivince in kagent-dev/kagent#1999
* fix(translator): apply temperature/maxTokens/topP for AzureOpenAI by @mesutoezdil in kagent-dev/kagent#1972
### Other Changes
* Add CEL validation rule for RemoteMCPServer with CA Cert and AllowedNamespaces by @iplay88keys in kagent-dev/kagent#1988
* Corrected spelling error in MemorySection.tsx by @krumware in kagent-dev/kagent#2008
* fix the issue where sandbox agents couldn't be added as tools by @peterj in kagent-dev/kagent#2000
* [BUG] 0.9.7 UI: new chat hangs on "Thinking…" by @peterj in kagent-dev/kagent#2010
* chore(deps): bump the npm-minor-patch group across 1 directory with 35 updates by @dependabot[bot] in kagent-dev/kagent#2016
* replace the outdated diagram with a gif from the website by @peterj in kagent-dev/kagent#2022
* chore(deps): bump the go-minor-patch group across 1 directory with 29 updates by @dependabot[bot] in kagent-dev/kagent#2015

## New Contributors
* @skashmeri made their first contribution in kagent-dev/kagent#1940
* @krumware made their first contribution in kagent-dev/kagent#2008
* @tuguldur-dev made their first contribution in kagent-dev/kagent#2013

**Full Changelog**: https://github.com/kagent-dev/kagent/compare/v0.9.7...v0.9.8</pre>
  <p>View the full release notes at <a href="https://github.com/kagent-dev/kagent/releases/tag/v0.9.8">https://github.com/kagent-dev/kagent/releases/tag/v0.9.8</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!11701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Helm chart providers.<name> values do not expose ModelConfig spec.tls — TLS config unreachable for chart-generated default ModelConfig

3 participants