[k8s] add expanding persistent volumes in tenant clusters
PaaS and framework that replace or compete with AWS, VMware
Brought to you by:
cozystack
Originally created by: klinch0
- add expanding persistent volumes in tenant clusters
Introduced cluster-scoped RBAC to allow required access to PersistentVolumes.
Chores
Originally posted by: coderabbitai[bot]
Walkthrough
Increments Kubernetes app chart to 0.29.2 with appVersion 1.32.6, updates kubevirt-csi-driver image, adds csi-resizer sidecar to the controller, introduces cluster-scoped RBAC for PV access, enables StorageClass volume expansion, adjusts CoreDNS values (removes image repository), and updates versions_map entries.
Changes
packages/apps/kubernetes/Chart.yamlpackages/apps/kubernetes/images/kubevirt-csi-driver.tag,packages/system/kubevirt-csi-node/values.yamlpackages/apps/kubernetes/templates/csi/deploy.yamlpackages/apps/kubernetes/templates/csi/infra-cluster-service-account.yamlpackages/system/kubevirt-csi-node/templates/deploy.yamlpackages/system/coredns/values.yamlpackages/apps/versions_mapSequence Diagram(s)
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested labels
ok-to-testSuggested reviewers
Poem
Pre-merge checks and finishing touches
✅ Passed checks (3 passed)
| Check name | Status | Explanation | | :----------------: | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. | | Title Check | ✅ Passed | The title "[k8s] add expanding persistent volumes in tenant clusters" is concise and accurately captures the PR's primary intent — enabling expandable persistent volumes in tenant clusters — and aligns with the changeset which adds allowVolumeExpansion to the StorageClass, a csi-resizer sidecar, and supporting cluster-scoped RBAC. It is specific enough for a reviewer scanning history and avoids vague wording. | | Docstring Coverage | ✅ Passed | No functions found in the changes. Docstring coverage check skipped. |✨ Finishing touches
🧪 Generate unit tests
- [ ] Create PR with unit tests - [ ] Post copyable unit tests in a comment - [ ] Commit unit tests in branch `feature/expanding-persistent-volumes-in-tenant-clusters`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.
❤️ Share
- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)Comment
@coderabbitai helpto get the list of available commands and usage tips.Originally posted by: gemini-code-assist[bot]
Summary of Changes
Hello @klinch0, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request significantly enhances the storage capabilities within tenant Kubernetes clusters by enabling persistent volume expansion. It achieves this by integrating the Kubernetes CSI resizer component into the KubeVirt CSI driver deployment, updating the underlying CSI driver image, and configuring the StorageClass to support volume resizing. These changes provide greater flexibility for users to adjust their storage resources dynamically without manual intervention.
Highlights
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our [documentation page](https://developers.google.com/gemini-code-assist/docs/review-github-code), here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either `/gemini
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩