diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index e6af88c1..4aa10998 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: 4.2.1 +appVersion: 14.2.0.99201912180418-6819-118af03ubuntu18.04.1-ls62 description: qBittorrent is a cross-platform free and open-source BitTorrent client name: qbittorrent -version: 3.0.1 +version: 3.1.0 keywords: - qbittorrent - torrrent diff --git a/charts/qbittorrent/README.md b/charts/qbittorrent/README.md index 3362cfdc..3ad04ac3 100644 --- a/charts/qbittorrent/README.md +++ b/charts/qbittorrent/README.md @@ -86,6 +86,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, diff --git a/charts/qbittorrent/templates/deployment.yaml b/charts/qbittorrent/templates/deployment.yaml index bd6ec22f..d2cceeaa 100644 --- a/charts/qbittorrent/templates/deployment.yaml +++ b/charts/qbittorrent/templates/deployment.yaml @@ -2,6 +2,12 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "qbittorrent.fullname" . }} + {{- if .Values.deploymentAnnotations }} + annotations: + {{- range $key, $value := .Values.deploymentAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} labels: app.kubernetes.io/name: {{ include "qbittorrent.name" . }} helm.sh/chart: {{ include "qbittorrent.chart" . }} diff --git a/charts/qbittorrent/values.yaml b/charts/qbittorrent/values.yaml index 68ef152a..d91bfecd 100644 --- a/charts/qbittorrent/values.yaml +++ b/charts/qbittorrent/values.yaml @@ -26,7 +26,7 @@ umask: 022 image: repository: linuxserver/qbittorrent - tag: 14.2.0.99201912180418-6819-118af03ubuntu18.04.1-ls57 + tag: 14.2.0.99201912180418-6819-118af03ubuntu18.04.1-ls62 pullPolicy: IfNotPresent # resources: # requests: @@ -148,3 +148,5 @@ tolerations: [] affinity: {} podAnnotations: {} + +deploymentAnnotations: {}