From 1220c6177338a179765b6a31aa61e33bea68e4fe Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Thu, 12 Mar 2020 09:57:10 -0400 Subject: [PATCH] [tautulli] add deployment annotations (#175) --- charts/tautulli/Chart.yaml | 4 ++-- charts/tautulli/README.md | 1 + charts/tautulli/templates/deployment.yaml | 6 ++++++ charts/tautulli/values.yaml | 4 +++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/charts/tautulli/Chart.yaml b/charts/tautulli/Chart.yaml index da3f71b3..f5cc9862 100644 --- a/charts/tautulli/Chart.yaml +++ b/charts/tautulli/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: v2.1.42-ls34 +appVersion: v2.1.44-ls34 description: A Python based monitoring and tracking tool for Plex Media Server. name: tautulli -version: 2.0.2 +version: 2.1.0 keywords: - tautulli - plex diff --git a/charts/tautulli/README.md b/charts/tautulli/README.md index de926c61..563f8aa9 100644 --- a/charts/tautulli/README.md +++ b/charts/tautulli/README.md @@ -69,6 +69,7 @@ The following tables lists the configurable parameters of the Sentry chart and t | `tolerations` | Toleration labels for pod assignment | `[]` | | `affinity` | Affinity settings for pod assignment | `{}` | | `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, diff --git a/charts/tautulli/templates/deployment.yaml b/charts/tautulli/templates/deployment.yaml index 817a7d15..ec2e781b 100644 --- a/charts/tautulli/templates/deployment.yaml +++ b/charts/tautulli/templates/deployment.yaml @@ -2,6 +2,12 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "tautulli.fullname" . }} + {{- if .Values.deploymentAnnotations }} + annotations: + {{- range $key, $value := .Values.deploymentAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} labels: app.kubernetes.io/name: {{ include "tautulli.name" . }} helm.sh/chart: {{ include "tautulli.chart" . }} diff --git a/charts/tautulli/values.yaml b/charts/tautulli/values.yaml index bc2b2fb4..d5cb0640 100644 --- a/charts/tautulli/values.yaml +++ b/charts/tautulli/values.yaml @@ -4,7 +4,7 @@ image: repository: linuxserver/tautulli - tag: v2.1.42-ls34 + tag: v2.1.44-ls34 pullPolicy: IfNotPresent # upgrade strategy type (e.g. Recreate or RollingUpdate) @@ -103,3 +103,5 @@ tolerations: [] affinity: {} podAnnotations: {} + +deploymentAnnotations: {}