Skip to content

Commit 1a736b8

Browse files
committed
feat: disable oauth for sonarr api
API is secured by API key anyways.
1 parent 6eaecef commit 1a736b8

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

kubernetes/main/apps/default/sonarr/app/helmrelease.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ spec:
9090
parentRefs:
9191
- name: envoy-internal
9292
namespace: network
93+
api:
94+
hostnames:
95+
- "sonarr.internal.denniseffing.de"
96+
parentRefs:
97+
- name: envoy-internal
98+
namespace: network
99+
rules:
100+
- name: api
101+
matches:
102+
- path:
103+
type: PathPrefix
104+
value: /api
93105
persistence:
94106
config:
95107
existingClaim: sonarr-config

kubernetes/main/apps/default/sonarr/app/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ resources:
55
- helmrelease.yaml
66
- ocirepository.yaml
77
- pvc.yaml
8+
- securitypolicy.yaml
89
configMapGenerator:
910
- name: sonarr-configmap
1011
files:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: gateway.envoyproxy.io/v1alpha1
2+
kind: SecurityPolicy
3+
metadata:
4+
name: sonarr-api-disable-auth
5+
spec:
6+
targetRefs:
7+
- group: gateway.networking.k8s.io
8+
kind: HTTPRoute
9+
name: sonarr-api

0 commit comments

Comments
 (0)