Skip to content

fix(domain-server): volume and pvc handling#28

Merged
dataviruset merged 5 commits intomainfrom
hotfix/volume-and-pvc-handling
Feb 9, 2026
Merged

fix(domain-server): volume and pvc handling#28
dataviruset merged 5 commits intomainfrom
hotfix/volume-and-pvc-handling

Conversation

@dataviruset
Copy link
Copy Markdown
Contributor

A lot of this code was broken from before and after merging #27 it became worse.
Also fixes some issues with security contexts and some indentation.

@dataviruset dataviruset requested review from a team and Copilot December 19, 2025 10:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes broken volume and PVC handling in the domain-server Helm chart that was exacerbated by a previous merge. The changes include proper validation for StatefulSet configurations, improved volume mounting logic, and corrections to security context and indentation formatting.

Key changes:

  • Renamed statefulSetNameOverride to nameOverride for clarity and consistency
  • Added pre-deployment validation to prevent misconfiguration of single PVC with multi-replica StatefulSets
  • Refactored volume handling to properly support three scenarios: existing claims, dynamic PVCs for Deployments, and StatefulSet volume claim templates

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
charts/domain-server/Chart.yaml Incremented chart version to 0.5.4
charts/domain-server/values.yaml Renamed PVC name override field, updated storage class documentation, and added container security context configuration
charts/domain-server/templates/workload.yaml Added StatefulSet validation, refactored volume mounting logic to handle existing claims and dynamic provisioning, fixed indentation issues

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dataviruset dataviruset merged commit 25bac76 into main Feb 9, 2026
6 checks passed
@dataviruset dataviruset deleted the hotfix/volume-and-pvc-handling branch February 9, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants