mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-02 10:57:53 +00:00
fix(netbird): use internal dns to resolve auth admin-endpoint to internal gateway
This commit is contained in:
@@ -17,9 +17,6 @@ spec:
|
|||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
value: /resources
|
value: /resources
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /admin/realms/homelab/users/count
|
|
||||||
backendRefs:
|
backendRefs:
|
||||||
- name: keycloak
|
- name: keycloak
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ helmCharts:
|
|||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
|
- path: patches/dns-management.yaml # resolve auth admin-endpoint to internal gateway
|
||||||
- path: patches/deployment-strategy-management.yaml
|
- path: patches/deployment-strategy-management.yaml
|
||||||
- path: patches/deployment-strategy-signal.yaml
|
- path: patches/deployment-strategy-signal.yaml
|
||||||
- path: patches/pvc-backend-management.yaml
|
- path: patches/pvc-backend-management.yaml
|
||||||
|
|||||||
11
k8s/infra/vpn/netbird/backend/patches/dns-management.yaml
Normal file
11
k8s/infra/vpn/netbird/backend/patches/dns-management.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: netbird-backend-management
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
dnsConfig:
|
||||||
|
nameservers:
|
||||||
|
- 192.168.1.253 # AdGuardHome
|
||||||
|
dnsPolicy: None
|
||||||
Reference in New Issue
Block a user