-
Notifications
You must be signed in to change notification settings - Fork 559
Adjusted helm chart to have the right permissions for PVC #4225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Documentation Link Check Results❌ Absolute links check failed |
e4fab64 to
5ae4057
Compare
|
@claude full-review |
|
Claude finished @htahir1's task —— View job Full PR ReviewSummaryThis PR addresses PVC (Persistent Volume Claim) permission issues in the ZenML Helm chart by properly configuring the Changes OverviewFiles Modified:
Detailed Review✅ Strengths
🔍 Issues & Suggestions1. Missing Test Coverage (High Priority)The PR checklist shows "I have added tests to cover my changes" is unchecked. While this is infrastructure/configuration code, consider:
Recommendation: Add a comment in the PR description documenting how this was tested (e.g., "Tested by deploying with persistence enabled and verifying pod can write to PVC"). 2. Inconsistent Scope in Comments (Medium Priority)The inline comment at helm/values.yaml:318-320 mentions:
But the comment at helm/values.yaml:1181 broadens the scope:
Question: Does this fix also apply to backup PVCs ( Related code reference: helm/values.yaml:427 mentions:
This suggests backup PVCs also need this setting, so the documentation should be consistent. 3. Default Value Change Impact (Low Priority)This changes the default from an empty
Note: This is likely fine since the container already runs as UID 1000 ( 4. PR Checklist Items (Medium Priority)Several checklist items are unchecked:
Action Items:
📝 Code QualityComment Quality: ⭐⭐⭐⭐⭐
Documentation Quality: ⭐⭐⭐⭐⭐
🔒 Security Considerations✅ No security concerns identified
🎯 Testing Recommendations
📋 Final RecommendationsBefore Merging:
Optional Improvements:
VerdictStatus: ✅ APPROVE with minor recommendations The core changes are technically correct and well-documented. The primary gaps are in the PR process (checklist, testing documentation) rather than the code itself. This is a valuable fix that will prevent deployment issues for users enabling persistence. Great work on the comprehensive inline documentation and README additions! 🎉 References:
|
|
@AlexejPenner this needs docs changes |
|
@claude Add docs to this |
|
Claude finished @htahir1's task —— View job Documentation Added ✅I've added comprehensive documentation for the PVC permissions changes to the Helm deployment guide. Changes Made
What Was AddedAdded a new section "Deployment with persistent local database" to
The documentation follows ZenML's style guidelines with clear, conversational language and practical examples that users can directly apply to their deployments. |
Add a new section to the Helm deployment documentation explaining the fsGroup security context requirement for persistent volumes. This documents the default podSecurityContext.fsGroup: 1000 setting and warns users about maintaining it when overriding podSecurityContext. Relates to the Helm chart changes that set fsGroup by default to prevent permission errors when using persistent volumes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Hamza Tahir <htahir1@users.noreply.github.com>
stefannica
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good but didn't test it
Describe changes
see this slack thread for reference
Pre-requisites
Please ensure you have done the following:
developand the open PR is targetingdevelop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes