Add internal-only middleware to Gitea IngressRoute
Restrict Gitea web UI to LAN access only, matching other platform services. SSH NodePort (30022) is unaffected.
This commit is contained in:
@@ -11,6 +11,9 @@ spec:
|
|||||||
routes:
|
routes:
|
||||||
- match: Host(`gitea.coreworlds.io`)
|
- match: Host(`gitea.coreworlds.io`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
|
middlewares:
|
||||||
|
- name: internal-only
|
||||||
|
namespace: platform
|
||||||
services:
|
services:
|
||||||
- name: gitea-helm-http
|
- name: gitea-helm-http
|
||||||
namespace: platform
|
namespace: platform
|
||||||
|
|||||||
Reference in New Issue
Block a user