feat(deployment): Add support for root database credentials in Helm templates.#1759
Conversation
WalkthroughThe pull request updates the Helm chart to introduce support for root database credentials. It adds root_username and root_password configuration values, exposes them in the database secret template, updates the database StatefulSet to reference the root password key, and provides root credential environment variables to the db-table-creator job. The chart version is also bumped to 0.1.2-dev.3. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related issues
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (5)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-11-28T15:12:53.530ZApplied to files:
🪛 YAMLlint (1.37.1)tools/deployment/package-helm/templates/db-table-creator-job.yaml[error] 50-50: too many spaces inside braces (braces) [error] 50-50: too many spaces inside braces (braces) [error] 55-55: too many spaces inside braces (braces) [error] 55-55: too many spaces inside braces (braces) tools/deployment/package-helm/templates/database-secret.yaml[error] 12-12: too many spaces inside braces (braces) [error] 12-12: too many spaces inside braces (braces) [error] 13-13: too many spaces inside braces (braces) [error] 13-13: too many spaces inside braces (braces) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Note
This PR is part of the ongoing work for #1309. More PRs will be submitted until the Helm chart is complete and fully functional.
This PR updates the CLP Helm chart to include support for root database credentials. The changes include:
root_usernameandroot_passwordfields to database-secret.yaml.root_passwordfor relevant operations.CLP_DB_ROOT_USERandCLP_DB_ROOT_PASSenvironment variables for root-level access during table creation.values.yamlwith default values"root"/"root-pass".These changes allow the chart to support operations requiring root-level database access, matching the Docker Compose orchestration.
Checklist
breaking change.
Validation performed
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.