From fe14d15444debee37d0e0691ef4785ed43866415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Fri, 11 Jun 2021 19:27:12 +0200 Subject: [PATCH] [nzbget] Migrate to common v3 (#975) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [nzbget] Migrate to common v3 Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs * Update charts/stable/nzbget/Chart.yaml Co-authored-by: nιcнolaѕ wιlde Co-authored-by: nιcнolaѕ wιlde --- charts/stable/nzbget/Chart.yaml | 6 +-- charts/stable/nzbget/README.md | 37 ++++++------- .../stable/nzbget/README_CHANGELOG.md.gotmpl | 13 ++++- charts/stable/nzbget/values.yaml | 53 ++++++------------- 4 files changed, 49 insertions(+), 60 deletions(-) diff --git a/charts/stable/nzbget/Chart.yaml b/charts/stable/nzbget/Chart.yaml index 58369e06..81aeb218 100644 --- a/charts/stable/nzbget/Chart.yaml +++ b/charts/stable/nzbget/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: v21.0 +appVersion: v21.1 description: NZBGet is a Usenet downloader client name: nzbget -version: 10.1.0 +version: 11.0.0 kubeVersion: ">=1.16.0-0" keywords: - nzbget @@ -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/nzbget/README.md b/charts/stable/nzbget/README.md index 07d6c4cc..3090f2d1 100644 --- a/charts/stable/nzbget/README.md +++ b/charts/stable/nzbget/README.md @@ -1,6 +1,6 @@ # nzbget -![Version: 10.1.0](https://img.shields.io/badge/Version-10.1.0-informational?style=flat-square) ![AppVersion: v21.0](https://img.shields.io/badge/AppVersion-v21.0-informational?style=flat-square) +![Version: 11.0.0](https://img.shields.io/badge/Version-11.0.0-informational?style=flat-square) ![AppVersion: v21.0](https://img.shields.io/badge/AppVersion-v21.0-informational?style=flat-square) NZBGet is a Usenet downloader 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 @@ -79,20 +79,12 @@ The default login details (change ASAP) are: | Key | Type | Default | Description | |-----|------|---------|-------------| -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"ghcr.io/k8s-at-home/nzbget"` | | -| image.tag | string | `"v21.0"` | | -| ingress.enabled | bool | `false` | | -| persistence.config.emptyDir.enabled | bool | `false` | | -| persistence.config.enabled | bool | `false` | | -| persistence.downloads.emptyDir.enabled | bool | `false` | | -| persistence.downloads.enabled | bool | `false` | | -| persistence.downloads.mountPath | string | `"/downloads"` | | -| persistence.media.emptyDir.enabled | bool | `false` | | -| persistence.media.enabled | bool | `false` | | -| persistence.media.mountPath | string | `"/media"` | | -| service.port.port | int | `6789` | | -| strategy.type | string | `"Recreate"` | | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"ghcr.io/k8s-at-home/nzbget"` | image repository | +| image.tag | string | `"v21.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 @@ -100,6 +92,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). +### [11.0.0] + +#### Changed + +- **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. +- Changed image tag to `v21.1`. + ### [10.0.0] #### Changed @@ -120,8 +120,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A -[10.0.0]: #10.0.0 -[1.0.0]: #1.0.0 +[11.0.0]: #1100 +[10.0.0]: #1000 +[1.0.0]: #100 ## Support diff --git a/charts/stable/nzbget/README_CHANGELOG.md.gotmpl b/charts/stable/nzbget/README_CHANGELOG.md.gotmpl index 2274e928..9aedd356 100644 --- a/charts/stable/nzbget/README_CHANGELOG.md.gotmpl +++ b/charts/stable/nzbget/README_CHANGELOG.md.gotmpl @@ -9,6 +9,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). +### [11.0.0] + +#### Changed + +- **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. +- Changed image tag to `v21.1`. + ### [10.0.0] #### Changed @@ -29,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A -[10.0.0]: #10.0.0 -[1.0.0]: #1.0.0 +[11.0.0]: #1100 +[10.0.0]: #1000 +[1.0.0]: #100 {{- end -}} diff --git a/charts/stable/nzbget/values.yaml b/charts/stable/nzbget/values.yaml index e6d70249..3320a6d5 100644 --- a/charts/stable/nzbget/values.yaml +++ b/charts/stable/nzbget/values.yaml @@ -6,58 +6,37 @@ # image: + # -- image repository repository: ghcr.io/k8s-at-home/nzbget + # -- image tag + tag: v21.1 + # -- image pull policy pullPolicy: IfNotPresent - tag: v21.0 - -strategy: - type: Recreate +# -- Configures service settings for the chart. +# @default -- See values.yaml service: - port: - port: 6789 + main: + ports: + http: + port: 6789 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 media: enabled: false - emptyDir: - enabled: false mountPath: /media - ## 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: "" 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: ""