percona-helm-charts icon indicating copy to clipboard operation
percona-helm-charts copied to clipboard

Helm values for mongo db helm charts should allow override of individual replicaset configurations ,like size ,requests, limits etc

Open spron-in opened this issue 1 year ago • 1 comments

Copying it from roadmap project.

Current helm values file for mongo db uses array structure for configuring replica sets . This will be difficult to override using the helm --set option as it will override the entire array options .Please refer the recommended way i.e, using maps here. Helm charts should allow override of individual replica set configurations. current configuration for replsets is as below replsets:

name: rs0
size: 3
affinity:
affinityEnabled: true
advanced:
nodeAffinity:
reqdForSchIgnForExec:
nodeSelTerms:
matchExpr:

It can be made

replsets:
rs0:
size: 3
affinity:
affinityEnabled: true
advanced:
nodeAffinity:
reqdForSchIgnForExec:
nodeSelTerms:
matchExpr:

This will be very useful in overriding default configurations in helm using deployment tools like porter

spron-in avatar Nov 23 '23 11:11 spron-in

+1 for this, it would be very useful

aleksasiriski avatar Jan 11 '24 15:01 aleksasiriski

This was fixed with 1.16.0 release: https://github.com/percona/percona-helm-charts/pull/295

tplavcic avatar May 24 '24 18:05 tplavcic