Add persistent volume sizes in Artifactory and Instructions to Readme#17
Conversation
WalkthroughAdds duplicated README guidance for resizing PVCs for GitOps-managed StatefulSets; introduces PVC resources and persistence settings for Artifactory and its PostgreSQL in the Artifactory component, specifying 500Gi and 200Gi sizes and including the PVC manifest in kustomization. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 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: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
README.md(1 hunks)components/artifactory/values.yaml(2 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md
[style] ~239-~239: To form a complete sentence, be sure to include a subject.
Context: ...VC" action 4. Force Sync to reconcile. Should be successful. ## Development ### Add...
(MISSING_IT_THERE)
🔇 Additional comments (2)
components/artifactory/values.yaml (2)
9-11: The persistence configuration at lines 9–11 and the PostgreSQL persistence at lines 37–39 correctly align with the Artifactory Helm chart structure. Both paths and configurations are valid and properly nested under theartifactoryroot key. No changes needed.
37-39: PostgreSQL persistence configuration is correctly structured.The configuration at lines 37-39 properly enables PostgreSQL primary persistence with a 200Gi allocation. The path is
postgresql.primary.persistence(notartifactory.postgresql.primary.persistence). This follows the standard Bitnami PostgreSQL Helm chart pattern and the sizing is appropriate for an Artifactory database.
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
README.md (1)
239-239: Incomplete sentence flagged in previous review.Line 239 has a grammatical issue: "Sync should be successful" is the corrected version (adding "Sync" as the subject).
🧹 Nitpick comments (1)
components/artifactory/pvc.yaml (1)
24-25: Consider removing the trailing document separator.The trailing
---on line 24 followed by an empty line is unnecessary since there's no additional YAML document. While not incorrect, removing it improves file cleanliness.Apply this diff to clean up the file:
storage: 200Gi ---- -
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
README.md(1 hunks)components/artifactory/kustomization.yaml(1 hunks)components/artifactory/pvc.yaml(1 hunks)components/artifactory/values.yaml(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- components/artifactory/values.yaml
🔇 Additional comments (3)
components/artifactory/kustomization.yaml (1)
7-7: LGTM!The addition of
pvc.yamlto the resources correctly integrates the new PersistentVolumeClaim definitions into the Kustomization.README.md (1)
219-240: No duplication found in this README section.The search for "Increase PVC size when App uses StatefulSets" returns only a single occurrence at line 219, and distinctive patterns like "cascade=orphan" appear only within that one section. This documentation section is not duplicated in the README.
Likely an incorrect or invalid review comment.
components/artifactory/pvc.yaml (1)
1-23: Verify that the cluster has a default StorageClass configured.No
storageClassNameis specified for either PVC, which means they will use the cluster's default StorageClass. Ensure that a default StorageClass exists and supports dynamic provisioning with the required capacity (500Gi and 200Gi).Run the following script to check for a default StorageClass:
#!/bin/bash # Description: Check if a default StorageClass is configured in the cluster # Get the default StorageClass kubectl get storageclass -o jsonpath='{.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].metadata.name}' # List all StorageClasses with their provisioners and settings echo -e "\n\nAll StorageClasses:" kubectl get storageclass -o custom-columns=NAME:.metadata.name,PROVISIONER:.provisioner,RECLAIM:.reclaimPolicy,VOLUMEBINDING:.volumeBindingMode,ALLOWEXPANSION:.allowVolumeExpansion
Summary by CodeRabbit
Documentation
New Features
✏️ Tip: You can customize this high-level summary in your review settings.