add podannotations to radarr (#69)

This commit is contained in:
Ryan Holt 2019-10-03 10:23:46 -07:00 committed by Jeff Billimek
parent fde5379871
commit 0902903bae
4 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: amd64-v0.2.0.1344-ls17
description: Radarr is a movie downloading client
name: radarr
version: 2.0.7
version: 2.0.8
keywords:
- radarr
- 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 "radarr.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: {}