diff --git a/charts/nzbhydra2/Chart.yaml b/charts/nzbhydra2/Chart.yaml index f25a6794..e53cfb1f 100644 --- a/charts/nzbhydra2/Chart.yaml +++ b/charts/nzbhydra2/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: v2.11.2-ls53 +appVersion: v2.14.2-ls59 description: Usenet meta search name: nzbhydra2 -version: 2.0.3 +version: 2.1.0 keywords: - nzbhydra2 - usenet diff --git a/charts/nzbhydra2/README.md b/charts/nzbhydra2/README.md index 14554d9a..987968e1 100644 --- a/charts/nzbhydra2/README.md +++ b/charts/nzbhydra2/README.md @@ -70,6 +70,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, diff --git a/charts/nzbhydra2/templates/deployment.yaml b/charts/nzbhydra2/templates/deployment.yaml index ec90eeae..95c39a58 100644 --- a/charts/nzbhydra2/templates/deployment.yaml +++ b/charts/nzbhydra2/templates/deployment.yaml @@ -2,6 +2,12 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "nzbhydra2.fullname" . }} + {{- if .Values.deploymentAnnotations }} + annotations: + {{- range $key, $value := .Values.deploymentAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} labels: app.kubernetes.io/name: {{ include "nzbhydra2.name" . }} helm.sh/chart: {{ include "nzbhydra2.chart" . }} diff --git a/charts/nzbhydra2/values.yaml b/charts/nzbhydra2/values.yaml index eb41c9fa..0da1b360 100644 --- a/charts/nzbhydra2/values.yaml +++ b/charts/nzbhydra2/values.yaml @@ -4,7 +4,7 @@ image: repository: linuxserver/hydra2 - tag: v2.11.2-ls53 + tag: v2.14.2-ls59 pullPolicy: IfNotPresent # upgrade strategy type (e.g. Recreate or RollingUpdate) @@ -106,3 +106,5 @@ tolerations: [] affinity: {} podAnnotations: {} + +deploymentAnnotations: {}