Skip to content

feat(domain-server): allow PVCs for Deployment kind too#27

Merged
dataviruset merged 4 commits intomainfrom
feature/domain-server-deployment-pvc
Dec 19, 2025
Merged

feat(domain-server): allow PVCs for Deployment kind too#27
dataviruset merged 4 commits intomainfrom
feature/domain-server-deployment-pvc

Conversation

@dataviruset
Copy link
Copy Markdown
Contributor

Also bumps the app version to v0.8 as the domain-server v0.8.4 will be released very soon.

@dataviruset dataviruset requested review from a team and Copilot December 16, 2025 11:15
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 consolidates the Helm chart templates to support both Deployment and StatefulSet workload types with a unified template. The main purpose is to enable PersistentVolumeClaims (PVCs) for Deployment kind workloads, which were previously only available for StatefulSets.

Key Changes:

  • Merged deployment.yaml and StatefulSet-specific workload.yaml into a single workload.yaml template that dynamically handles both workload types
  • Added conditional logic to set replicas for Deployments and serviceName for StatefulSets
  • Updated the chart and app versions to 0.5.3 and 0.8 respectively

Reviewed changes

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

File Description
charts/domain-server/templates/workload.yaml Modified to dynamically support both Deployment and StatefulSet kinds with conditional fields
charts/domain-server/templates/deployment.yaml Deleted entirely as functionality merged into workload.yaml
charts/domain-server/Chart.yaml Bumped chart version to 0.5.3 and app version to 0.8

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

@shuning-auki
Copy link
Copy Markdown
Contributor

Why do we want to allow PVC for deployment? replicas + PVCs will cause the data distributes in different PVCs, wont it?

@dataviruset dataviruset merged commit ab120d6 into main Dec 19, 2025
6 of 12 checks passed
@dataviruset dataviruset deleted the feature/domain-server-deployment-pvc branch December 19, 2025 09:21
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