Added existing claim
This commit is contained in:
parent
6ee513c363
commit
6b7dd00624
@ -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.6
|
version: 0.1.7
|
||||||
|
|
||||||
# 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.
|
||||||
|
|||||||
@ -48,9 +48,13 @@ spec:
|
|||||||
mountPath: /movies
|
mountPath: /movies
|
||||||
subPath: movies
|
subPath: movies
|
||||||
volumes:
|
volumes:
|
||||||
|
{{- if and .Values.config.persistence.enabled .Values.config.persistence.existingClaim }}
|
||||||
- name: radarr-config
|
- name: radarr-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.config.configPvc }}
|
{{- with .Values.config.persistence.existingClaim }}
|
||||||
|
claimName: {{ tpl . $ }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
- name: radarr-media
|
- name: radarr-media
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.mediaPvc }}
|
claimName: {{ .Values.mediaPvc }}
|
||||||
|
|||||||
@ -26,9 +26,9 @@ securityContext:
|
|||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - ALL
|
# - ALL
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: false
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1003
|
runAsUser: 1027
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@ -67,6 +67,10 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
configPvc: radarr-hermes-config-pvc
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClassName: nfs-client-icarus
|
||||||
|
existingClaim: radarr-hermes-config
|
||||||
|
storageSize: 1Gi
|
||||||
|
|
||||||
mediaPvc: radarr-media-pvc
|
mediaPvc: radarr-hermes-media
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user