Fixed volumes
This commit is contained in:
parent
138a883571
commit
afce3aa892
@ -71,4 +71,4 @@ config:
|
|||||||
storageClassName: nfs-client-hermes
|
storageClassName: nfs-client-hermes
|
||||||
storageSize: 5Gi
|
storageSize: 5Gi
|
||||||
|
|
||||||
mediaPvc: nzbget-media-pvc
|
mediaPvc: nzbget-hermes-media-pvc
|
||||||
|
|||||||
@ -14,7 +14,7 @@ type: application
|
|||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
|
|||||||
@ -23,26 +23,6 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: sonarr-sidecar
|
|
||||||
image: harbor.ervine.dev/public/x86_64/alpine/sonarr-sidecar:v3.12.0
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
lifecycle:
|
|
||||||
preStop:
|
|
||||||
exec:
|
|
||||||
command:
|
|
||||||
- umount
|
|
||||||
- /mnt/sonarr-local-config
|
|
||||||
volumeMounts:
|
|
||||||
- name: sonarr-config
|
|
||||||
mountPath: /app-remote-config
|
|
||||||
- name: sonarr-local-config
|
|
||||||
mountPath: /mnt/app-local-config
|
|
||||||
mountPropagation: Bidirectional
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 20m
|
|
||||||
memory: 32Mi
|
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
@ -63,18 +43,8 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: sonarr-local-config
|
- name: sonarr-config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
mountPropagation: HostToContainer
|
|
||||||
- name: sonarr-config
|
|
||||||
mountPath: /config/Backups
|
|
||||||
subPath: Backups
|
|
||||||
- name: sonarr-config
|
|
||||||
mountPath: /config/MediaCover
|
|
||||||
subPath: MediaCover
|
|
||||||
- name: sonarr-config
|
|
||||||
mountPath: /config/logs
|
|
||||||
subPath: logs
|
|
||||||
- name: sonarr-media
|
- name: sonarr-media
|
||||||
mountPath: /tv
|
mountPath: /tv
|
||||||
subPath: tv
|
subPath: tv
|
||||||
@ -87,6 +57,9 @@ spec:
|
|||||||
- name: sonarr-media
|
- name: sonarr-media
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.mediaPvc }}
|
claimName: {{ .Values.mediaPvc }}
|
||||||
|
- name: sonarr-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.config.configPvc }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@ -99,12 +72,3 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: sonarr-config
|
|
||||||
spec:
|
|
||||||
accessModes: ['ReadWriteOnce']
|
|
||||||
storageClassName: {{ .Values.config.storageClassName | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.config.storageSize }}
|
|
||||||
|
|||||||
@ -68,7 +68,6 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
storageClassName: nfs-client-hermes
|
configPvc: sonarr-hermes-config-pvc
|
||||||
storageSize: 5Gi
|
|
||||||
|
|
||||||
mediaPvc: sonarr-media-pvc
|
mediaPvc: sonarr-media-pvc
|
||||||
|
|||||||
@ -14,7 +14,7 @@ type: application
|
|||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
version: 0.1.3
|
version: 0.1.6
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
|
|||||||
@ -45,6 +45,10 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tautulli-config
|
- name: tautulli-config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
volumes:
|
||||||
|
- name: tautulli-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.config.configPvc }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@ -57,12 +61,3 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: tautulli-config
|
|
||||||
spec:
|
|
||||||
accessModes: [ "ReadWriteOnce" ]
|
|
||||||
storageClassName: {{ .Values.config.storageClassName | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.config.storageSize }}
|
|
||||||
|
|||||||
@ -67,5 +67,4 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
storageClassName: nfs-client-icarus
|
configPvc: tautulli-icarus-config-pvc
|
||||||
storageSize: 5Gi
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user