Files
charts/bitnami/mongodb-sharded/templates/shard/shard-data-configmap.yaml
Javier J. Salmerón-García ea945f2f5c [bitnami/mongodb-sharded] Allow only deploying mongos. (#2901)
* [bitnami/mongodb-sharded] Allow only deploying mongos.

* update production

* Fix helper

* [bitnami/mongodb-sharded] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-06-24 13:20:10 +02:00

11 lines
426 B
YAML

{{- if and .Values.shards .Values.shardsvr.dataNode.config }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "mongodb-sharded.fullname" . }}-shardsvr-data
labels: {{- include "mongodb-sharded.labels" . | nindent 4 }}
app.kubernetes.io/component: shardsvr
data:
mongodb.conf: |-
{{- include "mongodb-sharded.tplValue" (dict "value" .Values.shardsvr.dataNode.config "context" $) | indent 4 }}
{{- end }}