diff --git a/charts/nzbget/Chart.yaml b/charts/nzbget/Chart.yaml index 869d1457..bd0c118d 100644 --- a/charts/nzbget/Chart.yaml +++ b/charts/nzbget/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v21.0-ls14 description: NZBGet is a Usenet downloader client name: nzbget -version: 3.1.0 +version: 3.1.1 keywords: - nzbget - usenet diff --git a/charts/nzbget/README.md b/charts/nzbget/README.md index 0f4a01b7..9ba86fd8 100644 --- a/charts/nzbget/README.md +++ b/charts/nzbget/README.md @@ -79,6 +79,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 pod annotations | `{}` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, diff --git a/charts/nzbget/templates/deployment.yaml b/charts/nzbget/templates/deployment.yaml index 9ccd6e9f..efb3f602 100644 --- a/charts/nzbget/templates/deployment.yaml +++ b/charts/nzbget/templates/deployment.yaml @@ -2,6 +2,12 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "nzbget.fullname" . }} + {{- if .Values.deploymentAnnotations }} + annotations: + {{- range $key, $value := .Values.deploymentAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} labels: app.kubernetes.io/name: {{ include "nzbget.name" . }} helm.sh/chart: {{ include "nzbget.chart" . }} diff --git a/charts/nzbget/values.yaml b/charts/nzbget/values.yaml index 72b32e43..dfac51a8 100644 --- a/charts/nzbget/values.yaml +++ b/charts/nzbget/values.yaml @@ -122,3 +122,5 @@ tolerations: [] affinity: {} podAnnotations: {} + +deploymentAnnotations: {}