Commit 92581d3
committed
docs(egress): document config.yaml override paths (downstream image, ConfigMap mount)
The previous draft told operators to edit components/egress/mitmproxy/config.yaml
and rebuild — true for the in-repo flow, but does not help operators consuming
a published egress image who want different static defaults. Add a section
spelling out the three supported override paths:
1. Build a downstream image that COPYs an alternate config.yaml over the
baked-in path (recommended: version-controlled, reproducible).
2. Mount an override at /var/lib/mitmproxy/.mitmproxy/config.yaml at runtime
(Kubernetes ConfigMap subPath mount example included).
3. Use the env-driven --set escape hatch for the small set of options exposed
via environment variables.
Also warn against in-container edits, which are lost on restart and blocked
by the mitmproxy user's read-only access.1 parent af8c28e commit 92581d3
1 file changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
76 | 110 | | |
77 | 111 | | |
78 | 112 | | |
| |||
0 commit comments