From 3d73b38c7b40d0de5a376d192e6560a5ef34da77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?n=CE=B9c=D0=BDola=D1=95=20w=CE=B9lde?= Date: Fri, 11 Jun 2021 10:31:45 -0700 Subject: [PATCH] [deluge] Migrate to common v3 (#981) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [deluge] Migrate to common v3 Signed-off-by: nιcнolaѕ wιlde * Fix linting issues Signed-off-by: nιcнolaѕ wιlde --- charts/stable/deluge/Chart.yaml | 4 +- charts/stable/deluge/README.md | 43 ++++++-------- .../stable/deluge/README_CHANGELOG.md.gotmpl | 15 ++--- charts/stable/deluge/values.yaml | 57 +++++++++---------- 4 files changed, 49 insertions(+), 70 deletions(-) diff --git a/charts/stable/deluge/Chart.yaml b/charts/stable/deluge/Chart.yaml index 9ad8ce76..276eb49c 100644 --- a/charts/stable/deluge/Chart.yaml +++ b/charts/stable/deluge/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.0.3-2201906121747 description: Deluge is a torrent download client name: deluge -version: 3.4.0 +version: 4.0.0 kubeVersion: ">=1.16.0-0" keywords: - deluge @@ -18,4 +18,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.0.2 diff --git a/charts/stable/deluge/README.md b/charts/stable/deluge/README.md index 45172f66..3cb1a525 100644 --- a/charts/stable/deluge/README.md +++ b/charts/stable/deluge/README.md @@ -1,6 +1,6 @@ # 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 @@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0` | 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 @@ -78,19 +78,17 @@ The default login details (change ASAP) are: | Key | Type | Default | Description | |-----|------|---------|-------------| -| env | object | `{}` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"linuxserver/deluge"` | | -| image.tag | string | `"version-2.0.3-2201906121747ubuntu18.04.1"` | | -| ingress.enabled | bool | `false` | | -| persistence.config.emptyDir.enabled | bool | `false` | | -| persistence.config.enabled | bool | `false` | | -| persistence.config.mountPath | string | `"/config"` | | -| persistence.downloads.emptyDir.enabled | bool | `false` | | -| persistence.downloads.enabled | bool | `false` | | -| persistence.downloads.mountPath | string | `"/downloads"` | | -| service.port.port | int | `8112` | | -| strategy.type | string | `"Recreate"` | | +| env | object | See below | environment variables. See more environment variables in the [deluge documentation](https://github.com/linuxserver/docker-deluge#parameters). | +| env.DELUGE_LOGLEVEL | string | `"error"` | Set the loglevel output when running Deluge | +| env.PGID | string | `"1000"` | Specify the group ID the application will run as | +| env.PUID | string | `"1000"` | Specify the user ID the application will run as | +| env.TZ | string | `"Europe/London"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"linuxserver/deluge"` | image repository | +| image.tag | string | `"version-2.0.3-2201906121747ubuntu18.04.1"` | image tag | +| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | +| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. | +| service | object | See values.yaml | Configures service settings for the chart. | ## 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). -### [1.0.0] - -#### Added - -- N/A +### [4.0.0] #### 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 - -- N/A - -[1.0.0]: #1.0.0 +[4.0.0]: #400 ## Support diff --git a/charts/stable/deluge/README_CHANGELOG.md.gotmpl b/charts/stable/deluge/README_CHANGELOG.md.gotmpl index 457def03..cd65db6b 100644 --- a/charts/stable/deluge/README_CHANGELOG.md.gotmpl +++ b/charts/stable/deluge/README_CHANGELOG.md.gotmpl @@ -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). -### [1.0.0] - -#### Added - -- N/A +### [4.0.0] #### 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 - -- N/A - -[1.0.0]: #1.0.0 +[4.0.0]: #400 {{- end -}} diff --git a/charts/stable/deluge/values.yaml b/charts/stable/deluge/values.yaml index e214aac7..6acac156 100644 --- a/charts/stable/deluge/values.yaml +++ b/charts/stable/deluge/values.yaml @@ -6,50 +6,45 @@ # image: + # -- image repository repository: linuxserver/deluge + # -- image pull policy pullPolicy: IfNotPresent + # -- image tag tag: version-2.0.3-2201906121747ubuntu18.04.1 -strategy: - type: Recreate +# -- environment variables. See more environment variables in the [deluge documentation](https://github.com/linuxserver/docker-deluge#parameters). +# @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: - port: - port: 8112 + main: + ports: + http: + port: 8112 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: config: enabled: false - emptyDir: - enabled: false mountPath: /config - downloads: enabled: false - emptyDir: - enabled: false mountPath: /downloads - ## Persistent Volume Storage Class - ## If defined, storageClassName: - ## 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"