mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
adding pod annotations to nzbget (#73)
* adding pod annotations to nzbget Signed-off-by: Jeff Billimek <jeff@billimek.com> * adding missing if check Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
parent
88744888e7
commit
ba96aa3efd
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: v21.0-ls14
|
appVersion: v21.0-ls14
|
||||||
description: NZBGet is a Usenet downloader client
|
description: NZBGet is a Usenet downloader client
|
||||||
name: nzbget
|
name: nzbget
|
||||||
version: 2.0.7
|
version: 2.0.8
|
||||||
keywords:
|
keywords:
|
||||||
- nzbget
|
- nzbget
|
||||||
- usenet
|
- usenet
|
||||||
|
@ -71,6 +71,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
|
|||||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||||
|
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
|
|
||||||
|
@ -7,6 +7,12 @@ metadata:
|
|||||||
helm.sh/chart: {{ include "nzbget.chart" . }}
|
helm.sh/chart: {{ include "nzbget.chart" . }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
{{- if .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.podAnnotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -104,3 +104,5 @@ nodeSelector: {}
|
|||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user