Commit 4cfc593
Make metrics-access network policy configurable
Add networkPolicy.enabled flag (default: true) to allow users to disable
the metrics-access network policy when it conflicts with other services.
The current network policy only allows ingress on ports 2112 (metrics)
and 9216 (MongoDB metrics), which blocks other services like cert-manager
webhook (port 443) when deployed in the same namespace.
Users can now disable it by setting:
networkPolicy:
enabled: false
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5738cf3 commit 4cfc593
2 files changed
Lines changed: 9 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
0 commit comments