Skip to content

Commit

Permalink
Remove condition for datadir volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
tschneider-aneo committed Sep 25, 2024
1 parent 7f14be7 commit 83ee4a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ entries:
licenses: Apache-2.0
apiVersion: v2
appVersion: 2.23.0
created: "2024-09-25T10:57:47.727934555+02:00"
created: "2024-09-25T11:14:59.707229313+02:00"
description: A Library Helm Chart for grouping common logic between bitnami charts.
This chart is not deployable by itself.
digest: 5f18fc6c511f853f98740d59fd608e38e7b16e21a462134a897225e3cc44307e
Expand Down Expand Up @@ -41,7 +41,7 @@ entries:
licenses: Apache-2.0
apiVersion: v2
appVersion: 7.0.14
created: "2024-09-25T10:57:47.727295937+02:00"
created: "2024-09-25T11:14:59.706208287+02:00"
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand All @@ -51,7 +51,7 @@ entries:
description: MongoDB(R) is an open source NoSQL database that uses JSON for data
storage. MongoDB(TM) Sharded improves scalability and reliability for large
datasets by distributing data across multiple machines.
digest: 98f0f11c73fc36485f72db92aed135a74e7bfc7afaf44ab808d0b86cb6c46368
digest: 66674041ce741aaf1c7b9927daf5050924b22ce82a892c43cde0176748a4dc94
home: https://bitnami.com
icon: https://bitnami.com/assets/stacks/mongodb/img/mongodb-stack-220x234.png
keywords:
Expand All @@ -70,4 +70,4 @@ entries:
urls:
- mongodb-sharded-8.3.7.tgz
version: 8.3.7
generated: "2024-09-25T10:57:47.72152996+02:00"
generated: "2024-09-25T11:14:59.700658985+02:00"
Binary file modified mongodb-sharded-8.3.7.tgz
Binary file not shown.
2 changes: 0 additions & 2 deletions templates/config-server/config-server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,11 @@ spec:
resources: {{- include "common.resources.preset" (dict "type" .Values.volumePermissions.resourcesPreset) | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.configsvr.persistence.enabled }}
- name: datadir
mountPath: {{ .Values.configsvr.persistence.mountPath }}
{{- if .Values.configsvr.persistence.subPath }}
subPath: {{ include "common.tplvalues.render" (dict "value" .Values.configsvr.persistence.subPath "context" $) }}
{{- end }}
{{- end }}
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
Expand Down
2 changes: 0 additions & 2 deletions templates/shard/shard-data-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,11 @@ spec:
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
{{- if $.Values.shardsvr.persistence.enabled }}
- name: datadir
mountPath: {{ $.Values.shardsvr.persistence.mountPath }}
{{- if $.Values.shardsvr.persistence.subPath }}
subPath: {{ include "common.tplvalues.render" (dict "value" $.Values.shardsvr.persistence.subPath "context" $) }}
{{- end }}
{{- end }}
{{- end }}
{{- with $.Values.shardsvr.dataNode.initContainers }}
{{- include "common.tplvalues.render" ( dict "value" . "context" $ ) | nindent 8 }}
Expand Down

0 comments on commit 83ee4a0

Please sign in to comment.