[tautulli] add deployment annotations (#175)

This commit is contained in:
Devin Buhl 2020-03-12 09:57:10 -04:00 committed by GitHub
parent 3bf3e6d66b
commit 1220c61773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v1 apiVersion: v1
appVersion: v2.1.42-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.0.2 version: 2.1.0
keywords: keywords:
- tautulli - tautulli
- plex - plex

View File

@ -69,6 +69,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `tolerations` | Toleration labels for pod assignment | `[]` | | `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` | | `affinity` | Affinity settings for pod assignment | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` | | `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
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,

View File

@ -2,6 +2,12 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "tautulli.fullname" . }} name: {{ include "tautulli.fullname" . }}
{{- if .Values.deploymentAnnotations }}
annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels: labels:
app.kubernetes.io/name: {{ include "tautulli.name" . }} app.kubernetes.io/name: {{ include "tautulli.name" . }}
helm.sh/chart: {{ include "tautulli.chart" . }} helm.sh/chart: {{ include "tautulli.chart" . }}

View File

@ -4,7 +4,7 @@
image: image:
repository: linuxserver/tautulli repository: linuxserver/tautulli
tag: v2.1.42-ls34 tag: v2.1.44-ls34
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# upgrade strategy type (e.g. Recreate or RollingUpdate) # upgrade strategy type (e.g. Recreate or RollingUpdate)
@ -103,3 +103,5 @@ tolerations: []
affinity: {} affinity: {}
podAnnotations: {} podAnnotations: {}
deploymentAnnotations: {}