add readarr
This commit is contained in:
@ -30,17 +30,12 @@ spec:
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: {{ .Values.persistence.config.mountPath }}
|
||||
- name: downloads
|
||||
mountPath: {{ .Values.persistence.downloads.mountPath }}
|
||||
- name: incomplete
|
||||
mountPath: {{ .Values.persistence.incomplete.mountPath }}
|
||||
- name: media
|
||||
mountPath: {{ .Values.persistence.media.mountPath }}
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.config.claimName }}
|
||||
- name: downloads
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.downloads.claimName }}
|
||||
- name: incomplete
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.incomplete.claimName }}
|
||||
claimName: {{ .Values.persistence.media.claimName }}
|
||||
|
@ -1,7 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sabnzbd-config
|
||||
name: {{ .Values.persistence.config.claimName }}
|
||||
labels:
|
||||
{{- include "sabnzbd.labels" . | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
@ -9,24 +11,17 @@ spec:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
{{- if not (lookup "v1" "PersistentVolumeClaim" .Release.Namespace "media-storage") }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: media-downloads
|
||||
name: media-storage
|
||||
labels:
|
||||
{{- include "sabnzbd.labels" . | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sabnzbd-incomplete
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
storage: 500Gi
|
||||
{{- end }}
|
@ -27,16 +27,19 @@ serviceAccount:
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
fsGroup: 0
|
||||
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add:
|
||||
- CHOWN
|
||||
- FOWNER
|
||||
- SETUID
|
||||
- SETGID
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
@ -58,17 +61,13 @@ ingress:
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@ -112,14 +111,21 @@ env:
|
||||
value: "0"
|
||||
- name: PGID
|
||||
value: "0"
|
||||
- name: PYTHON_EGG_CACHE
|
||||
value: "/config/.python-eggs"
|
||||
- name: PYTHONUNBUFFERED
|
||||
value: "1"
|
||||
- name: SAB_DIRECT_UNPACK
|
||||
value: "1"
|
||||
- name: SAB_DOWNLOAD_DIR
|
||||
value: "/media/incomplete"
|
||||
- name: SAB_COMPLETE_DIR
|
||||
value: "/media/downloads"
|
||||
|
||||
persistence:
|
||||
config:
|
||||
claimName: sabnzbd-config
|
||||
mountPath: /config
|
||||
downloads:
|
||||
claimName: media-downloads
|
||||
mountPath: /downloads
|
||||
incomplete:
|
||||
claimName: sabnzbd-incomplete
|
||||
mountPath: /incomplete-downloads
|
||||
media:
|
||||
claimName: media-storage
|
||||
mountPath: /media
|
||||
|
Reference in New Issue
Block a user