fix(base-cluster): add missing value to template#1775
Conversation
WalkthroughChanged vmware Helm chart gating in Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Helm as Helm/template
participant Values as Values (.Values)
participant Chart as vmware chart
note right of Values #E8F6FF: New condition\n`ne (.Values.backup.provider).velero nil`
Helm->>Values: evaluate condition
alt `.Values.backup.provider.velero` is non-nil
Helm->>Chart: include vmware chart
Chart-->>Helm: rendered
else `.Values.backup.provider.velero` is nil
Helm-->>Chart: skip vmware chart
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-07-24T09:55:53.655ZApplied to files:
⏰ 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 (1)
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.yaml (1)
195-195: Consider documenting the expectedbackup.providerschema structure.The condition now checks for
backup.provider.backupStorageLocations, which assumesbackup.provideris an object with nested properties. However, the values file only definesbackup.provider: nullwithout documenting the expected structure or providing examples.This pattern is consistent with line 190 (k8up provider check), but users may be unclear about how to configure this nested structure. Consider adding inline comments or documentation to clarify the expected object schema.
Example documentation update:
backup: # Set to null by default. When configured, should be an object with provider-specific settings. # Example for Velero with S3 storage: # provider: # s3: # ... # backupStorageLocations: # - name: default # ... provider: null resources: ...
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
charts/base-cluster/values.yaml(1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 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.
📚 Learning: 2025-07-24T09:56:41.380Z
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.
Applied to files:
charts/base-cluster/values.yaml
⏰ 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: Update release-please config file for a possibly new chart
- GitHub Check: check licenses
1c3cd38 to
e88ddee
Compare
e88ddee to
a63342f
Compare
🤖 I have created a release *beep* *boop* --- ## [10.0.2](base-cluster-v10.0.1...base-cluster-v10.0.2) (2025-10-31) ### Bug Fixes * **base-cluster:** add missing value to template ([#1775](#1775)) ([870e7d1](870e7d1)) ### Miscellaneous Chores * **base-cluster:** add loki retention value ([#1774](#1774)) ([de6b582](de6b582)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Summary by CodeRabbit