Skip to content

fix: align legacy values behavior/docs for >=1.0.0#131

Merged
tazarov merged 1 commit into
mainfrom
codex/issue-126-legacy-values
Feb 17, 2026
Merged

fix: align legacy values behavior/docs for >=1.0.0#131
tazarov merged 1 commit into
mainfrom
codex/issue-126-legacy-values

Conversation

@tazarov

@tazarov tazarov commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • gate legacy Python-era auth/logging resources and wiring to < 1.0.0 only
  • fix invalid >= 1.0.0 + basic auth render path by preventing legacy htpasswd init container setup on v1
  • clarify legacy value behavior in values.yaml and README (including isPersistent semantics)
  • document chromadb.apiImpl as removed/no-op and clean stale TODO comments in test templates
  • update auth docs to use chromadb.auth.token.headerType and explicit supported version ranges

Testing

  • helm lint charts/chromadb-chart
  • bash tests/test_v1_config.sh (57 passed, 0 failed)
  • pytest -q (fails during collection in tests/test_chroma.py due sentence-transformers/all-MiniLM-L6-v2 model resolution)

Fixes #126

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses issue #126 by properly gating legacy Python-era configuration to ChromaDB versions < 1.0.0, preventing invalid rendering when deploying the Rust server (>= 1.0.0) with legacy auth/logging settings. The PR fixes a bug where basic auth would attempt to set up htpasswd init containers on >= 1.0.0 deployments, and comprehensively documents which values.yaml options are ignored in modern versions.

Changes:

  • Gate legacy Python auth/logging resources (ConfigMaps, Secrets, init containers, volume mounts) to < 1.0.0 only
  • Fix invalid htpasswd init container setup when deploying >= 1.0.0 with chromadb.auth.type: basic
  • Document legacy value behavior in values.yaml and README with clear version range annotations

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
charts/chromadb-chart/values.yaml Added inline comments marking legacy values (logging, auth, maintenance, telemetry) as ignored for >= 1.0.0
charts/chromadb-chart/templates/config.yaml Introduced $isLegacy variable to gate log-config ConfigMap and auth resources to < 1.0.0 only
charts/chromadb-chart/templates/statefulset.yaml Added < 1.0.0 check to htpasswd init container and nested log-config volume mounting under version gate
charts/chromadb-chart/templates/tests/test-connection.yaml Added version and enabled checks to auth header logic, removed stale TODO comments
charts/chromadb-chart/templates/tests/test-api.yaml Added version and enabled checks to auth header logic, removed stale TODO comments
README.md Updated configuration table with version applicability, corrected tokenHeaderheaderType typo, added dedicated legacy values section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tazarov tazarov merged commit 4d893d5 into main Feb 17, 2026
14 checks passed
@tazarov tazarov deleted the codex/issue-126-legacy-values branch February 17, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CLN] Document and deprecate stale values for >= 1.0.0

2 participants