We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec7568 commit 8fadcf9Copy full SHA for 8fadcf9
solution-base/mongodb/charts/mongodb-sharded/templates/initialization-configmap.yaml
@@ -0,0 +1,9 @@
1
+{{ if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js|json]") }}
2
+apiVersion: v1
3
+kind: ConfigMap
4
+metadata:
5
+ name: mongodb-sharded-init-scripts
6
+ labels: {{- include "common.labels.standard" . | nindent 4 }}
7
+data:
8
+{{ tpl (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js|json]").AsConfig . | indent 2 }}
9
+{{ end }}
0 commit comments