add podannotations to sonarr (#68)

* add podannotations to sonarr

* add newline at end to resolve CI issue
This commit is contained in:
Ryan Holt 2019-10-03 09:54:50 -07:00 committed by Jeff Billimek
parent dd686320ac
commit fde5379871
4 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: amd64-2.0.0.5321-ls62
description: Sonarr is a television show downloading client
name: sonarr
version: 2.0.6
version: 2.0.7
keywords:
- sonarr
- usenet

View File

@ -72,6 +72,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

View File

@ -20,6 +20,12 @@ spec:
labels:
app.kubernetes.io/name: {{ include "sonarr.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}

View File

@ -127,3 +127,5 @@ nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}