chore(base-cluster): change value name to camel#1777
Conversation
WalkthroughThe PR renames the Loki retention configuration property from snake_case ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
charts/base-cluster/values.schema.json (1)
315-315: Consider communicating breaking change to users.While the rename itself is straightforward and consistent, this constitutes a breaking change for users with custom values files using the old
retention_periodkey. Consider ensuring that release notes include migration guidance (e.g.,retention_period→retentionPeriodin user values).
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
charts/base-cluster/templates/monitoring/logs/loki.yaml(1 hunks)charts/base-cluster/values.schema.json(1 hunks)charts/base-cluster/values.yaml(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: cwrau
Repo: teutonet/teutonet-helm-charts PR: 1601
File: charts/base-cluster/templates/dns/external-dns.yaml:33-39
Timestamp: 2025-07-24T09:56:41.380Z
Learning: In the teutonet-helm-charts base-cluster chart, secret names like "external-dns" for Cloudflare provider are intentionally hard-coded. Users who need custom secret names should use Helm's `valuesFrom` feature to override values rather than expecting dedicated fields in values.yaml. This design keeps the values.yaml clean while still allowing full customization flexibility.
⏰ 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)
- GitHub Check: check licenses
- GitHub Check: lint helm chart (base-cluster)
🔇 Additional comments (3)
charts/base-cluster/values.yaml (1)
315-315: Clean rename to align with camelCase convention.The property rename from
retention_periodtoretentionPeriodis consistent with Helm chart naming conventions and maintains the value correctly.charts/base-cluster/templates/monitoring/logs/loki.yaml (1)
81-81: Correct reference to renamed property.The template correctly references the renamed value. The
retention_periodkey on the left is Loki's native configuration (intentionally snake_case), whileretentionPeriodon the right is our Helm value naming.charts/base-cluster/values.schema.json (1)
924-928: Schema properly updated with clear validation and examples.The property rename is reflected in the schema with appropriate pattern validation and helpful examples. This maintains consistency with the values.yaml change.
🤖 I have created a release *beep* *boop* --- ## [10.0.3](base-cluster-v10.0.2...base-cluster-v10.0.3) (2025-10-31) ### Miscellaneous Chores * **base-cluster:** change value name to camel ([#1777](#1777)) ([b3bd6be](b3bd6be)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Released version 10.0.3 of base-cluster * Updated configuration value naming to camel case convention <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Summary by CodeRabbit