Helm chart update - Unconditional tmp volume mounts - #44070
Conversation
WalkthroughThis pull request updates the Fleet Helm chart version from v6.8.10 to v6.9.0 in the Chart.yaml metadata file. Additionally, the deployment.yaml template is modified to expand the conditional logic for Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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.
🧹 Nitpick comments (1)
charts/fleet/templates/deployment.yaml (1)
544-545: Optional: unifyemptyDirstyle.Line 545 uses
emptyDir:(null) while line 581 usesemptyDir: {}. Both are accepted by Kubernetes, but using the same form helps readers.Proposed tweak
- name: tmp - emptyDir: + emptyDir: {}🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@charts/fleet/templates/deployment.yaml` around lines 544 - 545, The file uses two styles for emptyDir volumes; unify them for readability by changing the tmp volume definition (volume name "tmp" in the Deployment spec) to use the same form as the other emptyDir occurrence (e.g., replace emptyDir: with emptyDir: {}), or alternatively update the other occurrence to use the null form—ensure both emptyDir blocks (including the one for volume "tmp") use the identical style throughout the template.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@charts/fleet/templates/deployment.yaml`:
- Around line 544-545: The file uses two styles for emptyDir volumes; unify them
for readability by changing the tmp volume definition (volume name "tmp" in the
Deployment spec) to use the same form as the other emptyDir occurrence (e.g.,
replace emptyDir: with emptyDir: {}), or alternatively update the other
occurrence to use the null form—ensure both emptyDir blocks (including the one
for volume "tmp") use the identical style throughout the template.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: ae5076c4-631a-4f7d-9384-098563c28b94
📒 Files selected for processing (2)
charts/fleet/Chart.yamlcharts/fleet/templates/deployment.yaml
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
Related issue: Resolves #43330
fleet.tls.enabled = false,databse.tls.enabled = false,osquery.logging.statusPlugin != "filesystem",osquery.logging.resultPlugin != "filesystem", andfleet.additionalCAs.enabled = false, all at once, would lead to exclusion of thetmpvolume mount and affecting software installer uploads.6.8.10->6.9.0Summary by CodeRabbit