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 appVersion: v2.1.44-ls34
description: A Python based monitoring and tracking tool for Plex Media Server. description: A Python based monitoring and tracking tool for Plex Media Server.
name: tautulli name: tautulli
version: 2.2.0 version: 2.3.0
keywords: keywords:
- tautulli - tautulli
- plex - plex

View File

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

View File

@ -85,6 +85,13 @@ persistence:
subPath: "" subPath: ""
## Do not delete the pvc upon helm uninstall ## Do not delete the pvc upon helm uninstall
skipuninstall: false 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: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious