Add config and a pvc for sonarr

This commit is contained in:
2024-08-06 20:23:20 +01:00
parent bfbb8835ca
commit a9638ed00d
4 changed files with 65 additions and 25 deletions

View File

@@ -47,3 +47,10 @@ spec:
requests:
cpu: 10m
memory: 64Mi
volumeMounts:
- name: static-config
mountPath: /config
volumes:
- name: static-config
configMap:
name: static-config

View File

@@ -0,0 +1,17 @@
<Config>
<LogLevel>Info</LogLevel>
<Port>8989</Port>
<UrlBase>/</UrlBase>
<BindAddress>*</BindAddress>
<SslPort>9898</SslPort>
<EnableSsl>False</EnableSsl>
<ApiKey>82138601e4f44e23be8c2b4d18e58687</ApiKey>
<AuthenticationMethod>External</AuthenticationMethod>
<Branch>develop</Branch>
<LaunchBrowser>True</LaunchBrowser>
<UpdateMechanism>Docker</UpdateMechanism>
<InstanceName>Sonarr</InstanceName>
<AuthenticationRequired>DisabledForLocalAddresses</AuthenticationRequired>
<SslCertPath></SslCertPath>
<SslCertPassword></SslCertPassword>
</Config>

View File

@@ -4,3 +4,8 @@ resources:
- deployment.yaml
- service.yaml
- ingress.yaml
- pvc.yaml
configMapGenerator:
- name: static-config
files:
- ./config.xml

11
apps/sonarr/pvc.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: sonarr-pvc
spec:
accessModes:
- ReadWriteOncePod
storageClassName: longhorn
resources:
requests:
storage: 2Gi