add readarr
This commit is contained in:
@ -36,10 +36,8 @@ spec:
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: {{ .Values.persistence.config.mountPath }}
|
||||
- name: tv
|
||||
mountPath: {{ .Values.persistence.tv.mountPath }}
|
||||
- name: downloads
|
||||
mountPath: {{ .Values.persistence.downloads.mountPath }}
|
||||
- name: media
|
||||
mountPath: {{ .Values.persistence.media.mountPath }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
@ -54,12 +52,9 @@ spec:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.config.claimName }}
|
||||
- name: tv
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.tv.claimName }}
|
||||
- name: downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.downloads.claimName }}
|
||||
claimName: {{ .Values.persistence.media.claimName }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
@ -1,7 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sonarr-config
|
||||
name: {{ .Values.persistence.config.claimName }}
|
||||
labels:
|
||||
{{- include "sonarr.labels" . | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
@ -9,13 +11,17 @@ spec:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
{{- if not (lookup "v1" "PersistentVolumeClaim" .Release.Namespace "media-storage") }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sonarr-tv
|
||||
name: media-storage
|
||||
labels:
|
||||
{{- include "sonarr.labels" . | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
storage: 500Gi
|
||||
{{- end }}
|
@ -62,11 +62,11 @@ ingress:
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4000m
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 256Mi
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@ -82,25 +82,12 @@ autoscaling:
|
||||
minReplicas: 1
|
||||
maxReplicas: 100
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
|
||||
# Additional volumes on the output Deployment definition.
|
||||
volumes: []
|
||||
# - name: foo
|
||||
# secret:
|
||||
# secretName: mysecret
|
||||
# optional: false
|
||||
|
||||
# Additional volumeMounts on the output Deployment definition.
|
||||
volumeMounts: []
|
||||
# - name: foo
|
||||
# mountPath: "/etc/foo"
|
||||
# readOnly: true
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
# Environment variables
|
||||
@ -117,9 +104,6 @@ persistence:
|
||||
config:
|
||||
claimName: sonarr-config
|
||||
mountPath: /config
|
||||
tv:
|
||||
claimName: sonarr-tv
|
||||
mountPath: /tv
|
||||
downloads:
|
||||
claimName: media-downloads
|
||||
mountPath: /downloads
|
||||
media:
|
||||
claimName: media-storage
|
||||
mountPath: /media
|
||||
|
Reference in New Issue
Block a user