[nzbhydra2] Adds deploymentAnnotations support (#172)

* incorporate deploymentAnnotations, bump default tag

Signed-off-by: Ryan Holt <ryan@ryanholt.net>

* Bumped chart version to 2.1.0
This commit is contained in:
Ryan Holt 2020-03-11 18:03:52 -04:00 committed by GitHub
parent 9203d2d558
commit 352f2d37ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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,

View File

@ -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" . }}

View File

@ -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: {}