Skip to content

Commit 3a18009

Browse files
committed
fix(mongodb): networkpolicy for exporter
1 parent 4df6306 commit 3a18009

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

addons/mongodb/7.0/chart/mongodb/templates/networkpolicy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
# Allow inbound connections
2222
- ports:
2323
- port: {{ .Values.service.ports.mongodb }}
24+
- port: {{ .Values.metrics.service..ports.metrics }}
2425
{{- if or .Values.networkPolicy.allowCurrentNamespace .Values.networkPolicy.allowNamespaces }}
2526
from:
2627
{{- if .Values.networkPolicy.allowCurrentNamespace }}

addons/mongodb/7.0/chart/mongodb/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@ metrics:
18341834
##
18351835
image:
18361836
registry: registry.drycc.cc
1837-
repository: drycc-addons/mongodb_exporter
1837+
repository: drycc-addons/mongodb-exporter
18381838
tag: 0
18391839
digest: ""
18401840
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)