diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index 87347ad..baa805d 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: qbittorrent description: qbittorrent helm chart for Kubernetes type: application -version: 0.2.1 +version: 0.2.2 # image: qbittorrent/docker-qbittorrent-nox appVersion: "4.6.4-1" sources: diff --git a/charts/qbittorrent/README.md b/charts/qbittorrent/README.md index 94759a7..95f5b00 100644 --- a/charts/qbittorrent/README.md +++ b/charts/qbittorrent/README.md @@ -1,6 +1,6 @@ # qbittorrent -![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.4-1](https://img.shields.io/badge/AppVersion-4.6.4--1-informational?style=flat-square) +![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.4-1](https://img.shields.io/badge/AppVersion-4.6.4--1-informational?style=flat-square) qbittorrent helm chart for Kubernetes @@ -69,6 +69,7 @@ helm repo add adminafk https://helm-charts.adminafk.fr | service.torrent.annotations | object | `{}` | Annotations to add to the torrent service | | service.torrent.port | int | `6881` | | | service.torrent.type | string | `"ClusterIP"` | | +| service.web.annotations | object | `{}` | Annotations to add to the web service | | service.web.port | int | `80` | | | service.web.type | string | `"ClusterIP"` | | | serviceAccount.annotations | object | `{}` | Annotations to add to the service account | diff --git a/charts/qbittorrent/templates/torrent_service.yaml b/charts/qbittorrent/templates/torrentservice.yaml similarity index 91% rename from charts/qbittorrent/templates/torrent_service.yaml rename to charts/qbittorrent/templates/torrentservice.yaml index 00f7f7f..267c182 100644 --- a/charts/qbittorrent/templates/torrent_service.yaml +++ b/charts/qbittorrent/templates/torrentservice.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "qbittorrent.fullname" . }} + name: {{ include "qbittorrent.fullname" . }}-torrent labels: {{- include "qbittorrent.labels" . | nindent 4 }} {{- with .Values.service.torrent.annotations }} diff --git a/charts/qbittorrent/templates/web_service.yaml b/charts/qbittorrent/templates/webservice.yaml similarity index 68% rename from charts/qbittorrent/templates/web_service.yaml rename to charts/qbittorrent/templates/webservice.yaml index 223d327..8a0dcfc 100644 --- a/charts/qbittorrent/templates/web_service.yaml +++ b/charts/qbittorrent/templates/webservice.yaml @@ -1,9 +1,13 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "qbittorrent.fullname" . }} + name: {{ include "qbittorrent.fullname" . }}-web labels: {{- include "qbittorrent.labels" . | nindent 4 }} + {{- with .Values.service.web.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.web.type }} ports: diff --git a/charts/qbittorrent/values.yaml b/charts/qbittorrent/values.yaml index db8bec3..d4abee8 100644 --- a/charts/qbittorrent/values.yaml +++ b/charts/qbittorrent/values.yaml @@ -46,6 +46,8 @@ service: web: type: ClusterIP port: 80 + # -- Annotations to add to the web service + annotations: {} torrent: type: ClusterIP port: 6881