mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
[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:
parent
9203d2d558
commit
352f2d37ec
@ -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
|
||||
|
@ -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,
|
||||
|
||||
|
@ -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" . }}
|
||||
|
@ -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: {}
|
||||
|
Loading…
Reference in New Issue
Block a user