|
| 1 | +diff --git a/solution-base/mongodb/charts/mongodb-sharded/templates/config-server/config-server-statefulset.yaml b/solution-base/mongodb/charts/mongodb-sharded/templates/config-server/config-server-statefulset.yaml |
| 2 | +index d82fb6c8..f48a8e70 100644 |
| 3 | +--- a/solution-base/mongodb/charts/mongodb-sharded/templates/config-server/config-server-statefulset.yaml |
| 4 | ++++ b/solution-base/mongodb/charts/mongodb-sharded/templates/config-server/config-server-statefulset.yaml |
| 5 | +@@ -450,7 +450,7 @@ spec: |
| 6 | + storage: {{ .Values.configsvr.persistence.size | quote }} |
| 7 | + {{- with .Values.configsvr.persistence.selector }} |
| 8 | + selector: |
| 9 | +- {{- include "common.tplvalues.render" (dict "value" .Values.configsvr.persistence.selector "context" $) | nindent 10 }} |
| 10 | ++{{ toYaml $.Values.shardsvr.persistence.selector | indent 10 }} |
| 11 | + {{- end }} |
| 12 | + {{- include "common.storage.class" (dict "persistence" .Values.configsvr.persistence "global" .Values.global) | nindent 8 }} |
| 13 | + {{- end }} |
| 14 | +diff --git a/solution-base/mongodb/charts/mongodb-sharded/templates/shard/shard-data-statefulset.yaml b/solution-base/mongodb/charts/mongodb-sharded/templates/shard/shard-data-statefulset.yaml |
| 15 | +index d6a593a6..68974ddd 100644 |
| 16 | +--- a/solution-base/mongodb/charts/mongodb-sharded/templates/shard/shard-data-statefulset.yaml |
| 17 | ++++ b/solution-base/mongodb/charts/mongodb-sharded/templates/shard/shard-data-statefulset.yaml |
| 18 | +@@ -457,7 +457,7 @@ spec: |
| 19 | + storage: {{ $.Values.shardsvr.persistence.size | quote }} |
| 20 | + {{- with $.Values.shardsvr.persistence.selector }} |
| 21 | + selector: |
| 22 | +- {{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.persistence.selector "context" (merge $ (dict "Index" $i))) | nindent 10 }} |
| 23 | ++{{ toYaml $.Values.shardsvr.persistence.selector | indent 10 }} |
| 24 | + {{- end }} |
| 25 | + {{- include "common.storage.class" (dict "persistence" $.Values.shardsvr.persistence "global" $.Values.global) | nindent 8 }} |
| 26 | + {{- end }} |
0 commit comments