[tautulli] use common chart (#127)

* [tautulli] use common chart

* remove app name in app.env example
This commit is contained in:
ᗪєνιη ᗷυнʟ 2020-11-09 07:22:15 -05:00 committed by GitHub
parent 8c93651a63
commit e90297be47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 93 additions and 53 deletions

View File

@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
# OWNERS file for Kubernetes
OWNERS

View File

@ -1,31 +1,20 @@
apiVersion: v2 apiVersion: v2
name: tautulli appVersion: v2.6.1
description: A Python based monitoring and tracking tool for Plex Media Server description: A Python based monitoring and tracking tool for Plex Media Server
type: application name: tautulli
version: 4.0.2 version: 5.0.0
appVersion: v2.5.4
keywords: keywords:
- tautulli - tautulli
- plex
home: https://github.com/k8s-at-home/charts/tree/master/charts/tautulli home: https://github.com/k8s-at-home/charts/tree/master/charts/tautulli
icon: https://github.com/Tautulli/Tautulli/blob/master/data/interfaces/default/images/logo.png?raw=true icon: https://github.com/Tautulli/Tautulli/blob/master/data/interfaces/default/images/logo.png?raw=true
sources: sources:
- https://github.com/Tautulli/Tautulli - https://github.com/Tautulli/Tautulli
- https://hub.docker.com/r/tautulli/tautulli - https://hub.docker.com/r/tautulli/tautulli
maintainers: maintainers:
- name: DirtyCajunRice - name: billimek
email: nick@cajun.pro email: jeff@billimek.com
url: https://github.com/dirtycajunrice
dependencies: dependencies:
- name: media-common - name: common
repository: https://k8s-at-home.com/charts/ repository: https://k8s-at-home.com/charts/
version: ^1.0.0 version: ^1.0.4
alias: tautulli
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/Tautulli/Tautulli
- name: Default Docker Image
url: https://hub.docker.com/r/tautulli/tautulli
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@ -1,4 +1,4 @@
approvers: approvers:
- DirtyCajunRice - billimek
reviewers: reviewers:
- DirtyCajunRice - billimek

View File

@ -1,52 +1,51 @@
# Tautulli | A Python based monitoring and tracking tool for Plex Media Server # Tautulli
Umbrella chart that
* Uses [media-common](https://github.com/k8s-at-home/charts/tree/master/charts/media-common) as a base
* Adds docker image information leveraging the [official image](https://hub.docker.com/r/tautulli/tautulli/)
* Deploys [Tautulli](https://github.com/Tautulli/Tautulli)
## TL;DR This is a helm chart for [Tautulli](https://github.com/Tautulli/Tautulli).
```console
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/ $ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/tautulli $ helm install k8s-at-home/tautulli
``` ```
## Installing the Chart ## Installing the Chart
To install the chart with the release name `tautulli`:
```console
helm install tautulli k8s-at-home/tautulli
```
## Upgrading To install the chart with the release name `my-release`:
Chart versions before 4.0.0 did not use media-common. Upgrading will require you to nest your values.yaml file under
a top-level `tautulli:` key. ```console
helm install --name my-release k8s-at-home/tautulli
```
## Uninstalling the Chart ## Uninstalling the Chart
To uninstall the `tautulli` deployment:
To uninstall/delete the `my-release` deployment:
```console ```console
helm uninstall tautulli helm delete my-release --purge
``` ```
The command removes all the Kubernetes components associated with the chart and deletes the release. The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration ## Configuration
Read through the media-common [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/media-common/values.yaml) Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/tautulli/values.yaml)
file. It has several commented out suggested values. file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console ```console
helm install tautulli \ helm install tautulli \
--set tautulli.env.TZ="America/New York" \ --set env.TZ="America/New York" \
k8s-at-home/tautulli k8s-at-home/tautulli
``` ```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
For example, chart. For example,
```console ```console
helm install tautulli k8s-at-home/tautulli --values values.yaml helm install tautulli k8s-at-home/tautulli --values values.yaml
``` ```
These values will be nested as it is a dependency, for example
```yaml ```yaml
tautulli: image:
image:
tag: ... tag: ...
``` ```
@ -60,3 +59,18 @@ Error: rendered manifests contain a resource that already exists. Unable to cont
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`. it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
--- ---
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
### Upgrading from 4.x.x to 5.x.x
Due to migrating to a centralized common library some values in `values.yaml` have changed.
Examples:
* `service.port` has been moved to `service.port.port`.
* `persistence.type` has been moved to `controllerType`.
Refer to the library values.yaml for more configuration options.

View File

@ -0,0 +1,2 @@
ingress:
enabled: true

View File

@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@ -0,0 +1 @@
{{ include "common.all" . }}

View File

@ -1,10 +1,20 @@
# Default values for tautulli. # Default values for Tautulli.
tautulli: image:
image: repository: tautulli/tautulli
organization: tautulli
repository: tautulli
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v2.5.4 tag: v2.5.4
service:
service:
port:
port: 8181 port: 8181
env: {}
# TZ: UTC
# PUID: 1001
# PGID: 1001
persistence:
config:
enabled: true
emptyDir: true