diff --git a/radarr/Chart.yaml b/radarr/Chart.yaml index 584a2a77..bf26fea0 100644 --- a/radarr/Chart.yaml +++ b/radarr/Chart.yaml @@ -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 diff --git a/radarr/README.md b/radarr/README.md index e7d3d529..9e956785 100644 --- a/radarr/README.md +++ b/radarr/README.md @@ -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, diff --git a/radarr/templates/deployment.yaml b/radarr/templates/deployment.yaml index 3cc767dc..fbfb5dc9 100644 --- a/radarr/templates/deployment.yaml +++ b/radarr/templates/deployment.yaml @@ -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 }} diff --git a/radarr/values.yaml b/radarr/values.yaml index d70b194b..ac116b06 100644 --- a/radarr/values.yaml +++ b/radarr/values.yaml @@ -127,3 +127,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +podAnnotations: {}