Skip to content

Commit

Permalink
fix: qbittorrent service name
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Apr 1, 2024
1 parent 06857d6 commit 7e5026f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/qbittorrent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion charts/qbittorrent/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 2 additions & 0 deletions charts/qbittorrent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ service:
web:
type: ClusterIP
port: 80
# -- Annotations to add to the web service
annotations: {}
torrent:
type: ClusterIP
port: 6881
Expand Down

0 comments on commit 7e5026f

Please sign in to comment.