Skip to content

Commit 1c9b222

Browse files
test
1 parent 3c3ebc9 commit 1c9b222

File tree

3 files changed

+3
-22
lines changed

3 files changed

+3
-22
lines changed

solution-base/mongodb/charts/mongodb-sharded/templates/shard/shard-data-podmonitor.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@ spec:
3737
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
3838
app.kubernetes.io/component: shardsvr
3939
shard: {{ $i | quote }}
40+
{{- if lt $i (sub $replicas 1) }}
41+
---
42+
{{- end }}
4043
{{- end }}
4144
{{- end }}

solution-base/mongodb/patches/mongodb-sharded-fix-podmonitor.patch

-22
This file was deleted.

solution-base/mongodb/patches/shard-data-podmonitor.patch

Whitespace-only changes.

0 commit comments

Comments
 (0)