add deployment annotations and bumped chart version (#147)

Signed-off-by: Ryan Holt <ryan@ryanholt.net>
This commit is contained in:
Ryan Holt 2020-02-12 12:01:42 -05:00 committed by GitHub
parent a4a7e17788
commit faef189636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View File

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

View File

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

View File

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

View File

@ -122,3 +122,5 @@ tolerations: []
affinity: {}
podAnnotations: {}
deploymentAnnotations: {}