Commit 1cb2bf4
authored
Add velocity forwarding secret env override (#10127)
Previously, the velocity forwarding secret could only be configured via
the configuration option in the global paper configuration.
This makes configuring/passing such a value rather difficult for
containerized/orchestrated servers as these configuration files are
usually part of the server data volume itself and hence cannot be
sourced from a secret.
This commit enables administrators to define the PAPER_VELOCITY_SECRET
environment variable, which will override any potentially configured
velocity secret.1 parent 78feecb commit 1cb2bf4
File tree
3 files changed
+16
-9
lines changed- patches/server
3 files changed
+16
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
598 | 605 | | |
599 | 606 | | |
600 | 607 | | |
| |||
5216 | 5223 | | |
5217 | 5224 | | |
5218 | 5225 | | |
5219 | | - | |
| 5226 | + | |
5220 | 5227 | | |
5221 | 5228 | | |
5222 | 5229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22216 | 22216 | | |
22217 | 22217 | | |
22218 | 22218 | | |
22219 | | - | |
| 22219 | + | |
22220 | 22220 | | |
22221 | 22221 | | |
22222 | 22222 | | |
| |||
22265 | 22265 | | |
22266 | 22266 | | |
22267 | 22267 | | |
22268 | | - | |
| 22268 | + | |
22269 | 22269 | | |
22270 | 22270 | | |
22271 | 22271 | | |
| |||
22287 | 22287 | | |
22288 | 22288 | | |
22289 | 22289 | | |
22290 | | - | |
| 22290 | + | |
22291 | 22291 | | |
22292 | 22292 | | |
22293 | 22293 | | |
| |||
0 commit comments