Switched to use existing PVC for emby config
This commit is contained in:
parent
b0f63cc06f
commit
b35a47aec2
@ -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.5
|
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.
|
||||||
|
|||||||
@ -76,6 +76,9 @@ spec:
|
|||||||
- name: emby-media-pv
|
- name: emby-media-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.mediaPvc }}
|
claimName: {{ .Values.mediaPvc }}
|
||||||
|
- name: emby-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.config.configPvc }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@ -88,12 +91,3 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: emby-config
|
|
||||||
spec:
|
|
||||||
accessModes: [ "ReadWriteOnce" ]
|
|
||||||
storageClassName: {{ .Values.config.storageClassName | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.config.storageSize }}
|
|
||||||
|
|||||||
@ -67,8 +67,7 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
storageClassName: nfs-client-icarus
|
configPvc: emby-icarus-config-pv
|
||||||
storageSize: 10Gi
|
|
||||||
|
|
||||||
configmap:
|
configmap:
|
||||||
uid: "1003"
|
uid: "1003"
|
||||||
|
|||||||
@ -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.2
|
version: 0.1.3
|
||||||
|
|
||||||
# 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,31 +23,12 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}-sidecar
|
|
||||||
image: harbor.ervine.dev/public/x86_64/alpine/sonarr-sidecar:v3.12.0
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
lifecycle:
|
|
||||||
preStop:
|
|
||||||
exec:
|
|
||||||
command:
|
|
||||||
- umount
|
|
||||||
- /mnt/app-local-config
|
|
||||||
volumeMounts:
|
|
||||||
- name: radarr-config
|
|
||||||
mountPath: /app-remote-config
|
|
||||||
- name: radarr-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 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
command:
|
||||||
ports:
|
ports:
|
||||||
- name: radarr
|
- name: radarr
|
||||||
containerPort: 7878
|
containerPort: 7878
|
||||||
@ -61,24 +42,15 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: radarr-local-config
|
- name: radarr-config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
mountPropagation: HostToContainer
|
|
||||||
- name: radarr-config
|
|
||||||
mountPath: /config/Backups
|
|
||||||
subPath: Backups
|
|
||||||
- name: radarr-config
|
|
||||||
mountPath: /config/MediaCover
|
|
||||||
subPath: MediaCover
|
|
||||||
- name: radarr-config
|
|
||||||
mountPath: /config/logs
|
|
||||||
subPath: logs
|
|
||||||
- name: radarr-media
|
- name: radarr-media
|
||||||
mountPath: /movies
|
mountPath: /movies
|
||||||
subPath: movies
|
subPath: movies
|
||||||
volumes:
|
volumes:
|
||||||
- emptyDir: {}
|
- name: radarr-config
|
||||||
name: radarr-local-config
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.config.configPvc }}
|
||||||
- name: radarr-media
|
- name: radarr-media
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.mediaPvc }}
|
claimName: {{ .Values.mediaPvc }}
|
||||||
@ -94,13 +66,3 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: {{ .Chart.Name }}-config
|
|
||||||
spec:
|
|
||||||
accessModes: ['ReadWriteOnce']
|
|
||||||
storageClassName: {{ .Values.config.storageClassName | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.config.storageSize }}
|
|
||||||
|
|
||||||
|
|||||||
@ -67,7 +67,6 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
storageClassName: nfs-client-hermes
|
configPvc: radarr-hermes-config-pvc
|
||||||
storageSize: 5Gi
|
|
||||||
|
|
||||||
mediaPvc: radarr-media-pvc
|
mediaPvc: radarr-media-pvc
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user