Skip to content

Commit

Permalink
EVEREST-1305 Set cfgsrv storage class to the same as engine (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
recharte authored Nov 14, 2024
1 parent 9957713 commit 3b2afbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/providers/psmdb/applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ func (p *applier) configureConfigsvrReplSet(configsvr *psmdbv1.ReplsetSpec) {
configsvr.VolumeSpec = &psmdbv1.VolumeSpec{
PersistentVolumeClaim: psmdbv1.PVCSpec{
PersistentVolumeClaimSpec: &corev1.PersistentVolumeClaimSpec{
// Use the same storage class and size as the engine
StorageClassName: database.Spec.Engine.Storage.Class,
Resources: corev1.VolumeResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceStorage: p.DB.Spec.Engine.Storage.Size,
Expand Down

0 comments on commit 3b2afbf

Please sign in to comment.