Publish new changes in catalog

This commit is contained in:
sonicaj
2023-10-14 20:18:23 +00:00
parent c38fe69959
commit 8532460da2
21 changed files with 102 additions and 45 deletions

View File

@@ -1,6 +0,0 @@
dependencies:
- name: common
repository: file://../../../common
version: 1.1.0
digest: sha256:752ce76025f5b61094bd2b18ca11693eb9d26d0dde4eb2e63cd2330cbffe9e73
generated: "2023-08-28T16:57:04.625845446+03:00"

View File

@@ -1,17 +0,0 @@
qbitNetwork:
webPort: 31000
btPort: 32444
qbitRunAs:
user: 1000
group: 1000
qbitStorage:
downloads:
type: hostPath
hostPath: /mnt/{{ .Release.Namespace }}/downloads
datasetName: ""
config:
type: hostPath
hostPath: /mnt/{{ .Release.Namespace }}/config
datasetName: ""

View File

@@ -1,14 +0,0 @@
qbitNetwork:
webPort: 30000
btPort: 32555
hostNetwork: true
qbitStorage:
downloads:
type: hostPath
hostPath: /mnt/{{ .Release.Namespace }}/downloads
datasetName: ""
config:
type: hostPath
hostPath: /mnt/{{ .Release.Namespace }}/config
datasetName: ""

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../../common
version: 1.1.1
digest: sha256:a7dbe3e4d42dbcd4325776e5e01a1d630c7f185f79e7ebf22b1b9cc80f56eed7
generated: "2023-10-10T14:21:08.770619275+03:00"

View File

@@ -4,7 +4,7 @@ description: The qBittorrent project aims to provide an open-source software alt
annotations:
title: qBittorrent
type: application
version: 1.0.21
version: 1.0.22
apiVersion: v2
appVersion: 4.5.5
kubeVersion: '>=1.16.0-0'
@@ -15,7 +15,7 @@ maintainers:
dependencies:
- name: common
repository: file://../../../common
version: 1.1.0
version: 1.1.1
home: https://www.qbittorrent.org/
icon: https://upload.wikimedia.org/wikipedia/commons/9/9e/Qbittorrent_logo.png
sources:

Binary file not shown.

View File

@@ -0,0 +1,13 @@
qbitNetwork:
webPort: 31000
btPort: 32444
qbitRunAs:
user: 1000
group: 1000
qbitStorage:
downloads:
type: pvc
config:
type: pvc

View File

@@ -11,10 +11,11 @@ qbitNetwork:
qbitStorage:
downloads:
type: hostPath
hostPath: /mnt/{{ .Release.Namespace }}/downloads
datasetName: ""
type: pvc
config:
type: hostPath
hostPath: /mnt/{{ .Release.Namespace }}/config
datasetName: ""
type: pvc
additionalStorages:
- type: pvc
mountPath: /action_movies
- type: pvc
mountPath: /adventure_movies

View File

@@ -0,0 +1,10 @@
qbitNetwork:
webPort: 30000
btPort: 32555
hostNetwork: true
qbitStorage:
downloads:
type: pvc
config:
type: pvc

View File

@@ -24,6 +24,7 @@ qbitStorage:
config:
type: ixVolume
datasetName: config
additionalStorages: []
notes:
custom: |

View File

@@ -187,6 +187,56 @@ questions:
show_if: [["type", "=", "hostPath"]]
immutable: true
required: true
- variable: additionalStorages
label: Additional Storage
description: qBittorrent additional storage
schema:
type: list
default: []
items:
- variable: storageEntry
label: Storage Entry
schema:
type: dict
attrs:
- variable: type
label: Type
description: |
ixVolume: Is dataset created automatically by the system.</br>
Host Path: Is a path that already exists on the system.
schema:
type: string
required: true
default: "ixVolume"
enum:
- value: "hostPath"
description: Host Path (Path that already exists on the system)
- value: "ixVolume"
description: ixVolume (Dataset created automatically by the system)
- variable: mountPath
label: Mount Path
description: The path inside the container to mount the storage.
schema:
type: path
required: true
- variable: hostPath
label: Host Path
description: The host path to use for storage.
schema:
type: hostpath
show_if: [["type", "=", "hostPath"]]
required: true
- variable: datasetName
label: Dataset Name
description: The name of the dataset to use for storage.
schema:
type: string
show_if: [["type", "=", "ixVolume"]]
required: true
immutable: true
default: "storage_entry"
$ref:
- "normalize/ixVolume"
- variable: resources
label: Resources Configuration

View File

@@ -104,4 +104,17 @@ persistence:
mountPath: /downloads
01-permissions:
mountPath: /mnt/directories/downloads
{{- range $idx, $storage := .Values.qbitStorage.additionalStorages }}
{{ printf "qbittorrent-%v" (int $idx) }}:
enabled: true
type: {{ $storage.type }}
datasetName: {{ $storage.datasetName | default "" }}
hostPath: {{ $storage.hostPath | default "" }}
targetSelector:
qbittorrent:
qbittorrent:
mountPath: {{ $storage.mountPath }}
01-permissions:
mountPath: /mnt/directories/{{ printf "qbittorrent-%v" (int $idx) }}
{{- end }}
{{- end -}}