Skip to content

Commit

Permalink
limit access
Browse files Browse the repository at this point in the history
  • Loading branch information
angelnu committed May 19, 2024
1 parent 833c875 commit 47532cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/default/music-assistant/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,30 @@ spec:
hajimari.io/info: Music Assistant for Home Assistant
hajimari.io/group: media
hosts:
- host: "ma.pub.${CLUSTER_DOMAIN}"
- host: "mm.pub.${CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "ma.pub.${CLUSTER_DOMAIN}"
- "mm.pub.${CLUSTER_DOMAIN}"
home:
enabled: true
annotations:
hajimari.io/enable: "false"
nginx.ingress.kubernetes.io/enable-global-auth: "false"
ingress.kubernetes.io/denylist-source-range: "192.168.2.0/30" #router doing nat
ingress.kubernetes.io/whitelist-source-range: "192.168.2.0/16,10.0.0.0/8"
#ingress.kubernetes.io/denylist-source-range: "192.168.2.0/30" #router doing nat
nginx.ingress.kubernetes.io/whitelist-source-range: "${INGRESS_WHITELIST_SOURCE_RANGE}"
hosts:
- host: "ma.home.${CLUSTER_DOMAIN}"
- host: "mm.home.${CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
identifier: main
tls:
- hosts:
- "ma.home.${CLUSTER_DOMAIN}"
- "mm.home.${CLUSTER_DOMAIN}"

persistence:
data:
Expand Down
1 change: 1 addition & 0 deletions settings/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ data:
CLUSTER_LB_UNIFI: "143"

NETWORK_K8S_CLUSTER_CIDR: "10.0.0.0/8"
INGRESS_WHITELIST_SOURCE_RANGE: "10.0.0.0/8,192.168.0.0/19,192.168.128.0/17"

CEPH_MONITOR_HOST_1: 192.168.4.11:6789
CEPH_MONITOR_HOST_2: 192.168.4.12:6789
Expand Down

0 comments on commit 47532cb

Please sign in to comment.