mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
add deployment annotations and bumped chart version (#147)
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
This commit is contained in:
parent
a4a7e17788
commit
faef189636
@ -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
|
||||
|
@ -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,
|
||||
|
||||
|
@ -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" . }}
|
||||
|
@ -122,3 +122,5 @@ tolerations: []
|
||||
affinity: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
deploymentAnnotations: {}
|
||||
|
Loading…
Reference in New Issue
Block a user