[deluge] Migrate to common v3 (#981)

* [deluge] Migrate to common v3

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>

* Fix linting issues

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
nιcнolaѕ wιlde 2021-06-11 10:31:45 -07:00 committed by GitHub
parent 0c589bf088
commit 3d73b38c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 70 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.0.3-2201906121747 appVersion: v2.0.3-2201906121747
description: Deluge is a torrent download client description: Deluge is a torrent download client
name: deluge name: deluge
version: 3.4.0 version: 4.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- deluge - deluge
@ -18,4 +18,4 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 2.5.0 version: 3.0.2

View File

@ -1,6 +1,6 @@
# deluge # deluge
![Version: 3.4.0](https://img.shields.io/badge/Version-3.4.0-informational?style=flat-square) ![AppVersion: v2.0.3-2201906121747](https://img.shields.io/badge/AppVersion-v2.0.3--2201906121747-informational?style=flat-square) ![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![AppVersion: v2.0.3-2201906121747](https://img.shields.io/badge/AppVersion-v2.0.3--2201906121747-informational?style=flat-square)
Deluge is a torrent download client Deluge is a torrent download client
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 | | https://library-charts.k8s-at-home.com | common | 3.0.2 |
## TL;DR ## TL;DR
@ -78,19 +78,17 @@ The default login details (change ASAP) are:
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. See more environment variables in the [deluge documentation](https://github.com/linuxserver/docker-deluge#parameters). |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.DELUGE_LOGLEVEL | string | `"error"` | Set the loglevel output when running Deluge |
| image.repository | string | `"linuxserver/deluge"` | | | env.PGID | string | `"1000"` | Specify the group ID the application will run as |
| image.tag | string | `"version-2.0.3-2201906121747ubuntu18.04.1"` | | | env.PUID | string | `"1000"` | Specify the user ID the application will run as |
| ingress.enabled | bool | `false` | | | env.TZ | string | `"Europe/London"` | Set the container timezone |
| persistence.config.emptyDir.enabled | bool | `false` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| persistence.config.enabled | bool | `false` | | | image.repository | string | `"linuxserver/deluge"` | image repository |
| persistence.config.mountPath | string | `"/config"` | | | image.tag | string | `"version-2.0.3-2201906121747ubuntu18.04.1"` | image tag |
| persistence.downloads.emptyDir.enabled | bool | `false` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.downloads.enabled | bool | `false` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.downloads.mountPath | string | `"/downloads"` | | | service | object | See values.yaml | Configures service settings for the chart. |
| service.port.port | int | `8112` | |
| strategy.type | string | `"Recreate"` | |
## Changelog ## Changelog
@ -98,21 +96,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.0.0] ### [4.0.0]
#### Added
- N/A
#### Changed #### Changed
- N/A - **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.2/charts/stable/common/) for the up-to-date values.
#### Removed [4.0.0]: #400
- N/A
[1.0.0]: #1.0.0
## Support ## Support

View File

@ -9,19 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.0.0] ### [4.0.0]
#### Added
- N/A
#### Changed #### Changed
- N/A - **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.2/charts/stable/common/) for the up-to-date values.
#### Removed [4.0.0]: #400
- N/A
[1.0.0]: #1.0.0
{{- end -}} {{- end -}}

View File

@ -6,50 +6,45 @@
# #
image: image:
# -- image repository
repository: linuxserver/deluge repository: linuxserver/deluge
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- image tag
tag: version-2.0.3-2201906121747ubuntu18.04.1 tag: version-2.0.3-2201906121747ubuntu18.04.1
strategy: # -- environment variables. See more environment variables in the [deluge documentation](https://github.com/linuxserver/docker-deluge#parameters).
type: Recreate # @default -- See below
env:
# -- Specify the user ID the application will run as
PUID: "1000"
# -- Specify the group ID the application will run as
PGID: "1000"
# -- Set the container timezone
TZ: "Europe/London"
# -- Set the loglevel output when running Deluge
DELUGE_LOGLEVEL: "error"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
port: 8112 ports:
http:
port: 8112
ingress: ingress:
enabled: false # -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: persistence:
config: config:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /config mountPath: /config
downloads: downloads:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /downloads mountPath: /downloads
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
env: {}
## Optional ENV Vars that can be set.
## All values below are the current default values.
# PUID: "1000"
# PGID: "1000"
# TZ: "Europe/London"
# UMASK_SET: "022"
# DELUGE_LOGLEVEL: "error"