Give Tautulli an existing mount option to allow it to see plex logs (#279)

This commit is contained in:
dcplaya 2020-07-12 12:38:01 -07:00 committed by GitHub
parent b9146f48c2
commit 516ff2a48f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v2.1.44-ls34
description: A Python based monitoring and tracking tool for Plex Media Server.
name: tautulli
version: 2.2.0
version: 2.3.0
keywords:
- tautulli
- plex

View File

@ -67,6 +67,11 @@ spec:
{{- if .Values.persistence.config.subPath }}
subPath: "{{ .Values.persistence.config.subPath }}"
{{- end }}
{{- range .Values.persistence.extraExistingClaimMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
@ -77,6 +82,11 @@ spec:
{{- else }}
emptyDir: {}
{{ end }}
{{- range .Values.persistence.extraExistingClaimMounts }}
- name: {{ .name }}
persistentVolumeClaim:
claimName: {{ .existingClaim }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}

View File

@ -85,6 +85,13 @@ persistence:
subPath: ""
## Do not delete the pvc upon helm uninstall
skipuninstall: false
extraExistingClaimMounts: []
# - name: external-mount
# mountPath: /srv/external-mount
## A manually managed Persistent Volume and Claim
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
# readOnly: true
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious