[jackett] add deployment annotations (#174)

This commit is contained in:
Devin Buhl 2020-03-12 09:52:03 -04:00 committed by GitHub
parent cedcd11bfe
commit 3bf3e6d66b
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
appVersion: v0.12.1582-ls39
appVersion: v0.13.446-ls55
description: API Support for your favorite torrent trackers
name: jackett
version: 2.1.1
version: 2.2.0
keywords:
- jackett
- torrent

View File

@ -77,6 +77,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,

View File

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

View File

@ -4,7 +4,7 @@
image:
repository: linuxserver/jackett
tag: v0.12.1582-ls39
tag: v0.13.446-ls55
pullPolicy: IfNotPresent
# upgrade strategy type (e.g. Recreate or RollingUpdate)
@ -123,3 +123,5 @@ tolerations: []
affinity: {}
podAnnotations: {}
deploymentAnnotations: {}