invoice-ninja: Update trusted proxies addresses
Since _ingress-nginx_ no longer runs in the host network namespace, traffic will appear to come from pods' internal IP addresses now. Similarly, the network policy for Invoice Ninja needs to be updated to allow traffic _to_ the ingress controllers' new addresses.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
APP_LOGO=https://invoiceninja.pyrocufflink.net/images/logo.png
|
||||
APP_URL=https://invoiceninja.pyrocufflink.net
|
||||
TRUSTED_PROXIES=172.30.0.171,172.30.0.172,172.30.0.173
|
||||
TRUSTED_PROXIES=10.149.0.0/16
|
||||
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=mail.pyrocufflink.blue
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
- port: 25
|
||||
- to:
|
||||
- ipBlock:
|
||||
cidr: 172.30.0.160/28
|
||||
cidr: 172.30.0.147/32
|
||||
ports:
|
||||
- port: 80
|
||||
- port: 443
|
||||
|
||||
Reference in New Issue
Block a user