Add config and a pvc for sonarr
This commit is contained in:
@@ -22,28 +22,35 @@ spec:
|
||||
app: sonarr
|
||||
spec:
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr:4.0.8
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8989
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8989
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8989
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
- name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr:4.0.8
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8989
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8989
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8989
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
volumeMounts:
|
||||
- name: static-config
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: static-config
|
||||
configMap:
|
||||
name: static-config
|
||||
17
apps/sonarr/files/config.xml
Normal file
17
apps/sonarr/files/config.xml
Normal 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>
|
||||
@@ -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
11
apps/sonarr/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sonarr-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOncePod
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
Reference in New Issue
Block a user