From 414b7af680891e093a27358375e34e999d3e17c9 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: Mon, 21 Jun 2021 11:58:41 +0200 Subject: [PATCH] [lychee] Migrate to common v3 (#1035) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [lychee] Migrate to common v3 Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs Co-authored-by: nιcнolaѕ wιlde --- charts/stable/lychee/Chart.yaml | 6 +- charts/stable/lychee/README.md | 43 ++++++----- .../stable/lychee/README_CHANGELOG.md.gotmpl | 13 +++- charts/stable/lychee/values.yaml | 77 ++++++------------- 4 files changed, 62 insertions(+), 77 deletions(-) diff --git a/charts/stable/lychee/Chart.yaml b/charts/stable/lychee/Chart.yaml index 776cec04..fe1f43fc 100644 --- a/charts/stable/lychee/Chart.yaml +++ b/charts/stable/lychee/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 4.0.8 +appVersion: v4.3.0 description: Lychee is a free photo-management tool, which runs on your server or web-space name: lychee -version: 4.4.0 +version: 5.0.0 kubeVersion: ">=1.16.0-0" keywords: - lychee @@ -19,4 +19,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.2.0 diff --git a/charts/stable/lychee/README.md b/charts/stable/lychee/README.md index b196458c..a6d16bda 100644 --- a/charts/stable/lychee/README.md +++ b/charts/stable/lychee/README.md @@ -1,6 +1,6 @@ # lychee -![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: 4.0.8](https://img.shields.io/badge/AppVersion-4.0.8-informational?style=flat-square) +![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: v4.3.0](https://img.shields.io/badge/AppVersion-v4.3.0-informational?style=flat-square) Lychee is a free photo-management tool, which runs on your server or web-space @@ -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.2.0 | ## TL;DR @@ -76,22 +76,16 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| env | object | `{}` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"lycheeorg/lychee-laravel"` | | -| image.tag | string | `"v4.0.8"` | | -| ingress.enabled | bool | `false` | | -| persistence.config.emptyDir.enabled | bool | `false` | | -| persistence.config.enabled | bool | `false` | | -| persistence.config.mountPath | string | `"/conf"` | | -| persistence.sym.emptyDir.enabled | bool | `false` | | -| persistence.sym.enabled | bool | `false` | | -| persistence.sym.mountPath | string | `"/sym"` | | -| persistence.uploads.emptyDir.enabled | bool | `false` | | -| persistence.uploads.enabled | bool | `false` | | -| persistence.uploads.mountPath | string | `"/uploads"` | | -| service.port.port | int | `80` | | -| strategy.type | string | `"Recreate"` | | +| env | object | See below | environment variables. | +| env.PGID | string | `"1001"` | Specify the group ID the application will run as | +| env.PHP_TZ | string | `"UTC"` | Set the container timezone | +| env.PUID | string | `"1001"` | Specify the user ID the application will run as | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"lycheeorg/lychee-laravel"` | image repository | +| image.tag | string | `"v4.3.0"` | 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 @@ -99,6 +93,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). +### [5.0.0] + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.2.0. 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.2.0/charts/stable/common/) for the up-to-date values. +- Changed image tag to `v4.3.0`. + ### [4.3.2] #### Added @@ -127,8 +129,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A -[4.3.2]: #4.3.2 -[1.0.0]: #1.0.0 +[5.0.0]: #500 +[4.3.2]: #432 +[1.0.0]: #100 ## Support diff --git a/charts/stable/lychee/README_CHANGELOG.md.gotmpl b/charts/stable/lychee/README_CHANGELOG.md.gotmpl index 4bd384e3..751472a8 100644 --- a/charts/stable/lychee/README_CHANGELOG.md.gotmpl +++ b/charts/stable/lychee/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). +### [5.0.0] + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.2.0. 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.2.0/charts/stable/common/) for the up-to-date values. +- Changed image tag to `v4.3.0`. + ### [4.3.2] #### Added @@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A -[4.3.2]: #4.3.2 -[1.0.0]: #1.0.0 +[5.0.0]: #500 +[4.3.2]: #432 +[1.0.0]: #100 {{- end -}} diff --git a/charts/stable/lychee/values.yaml b/charts/stable/lychee/values.yaml index 2bdf2990..757101e5 100644 --- a/charts/stable/lychee/values.yaml +++ b/charts/stable/lychee/values.yaml @@ -6,76 +6,49 @@ # image: + # -- image repository repository: lycheeorg/lychee-laravel + # -- image tag + tag: v4.3.0 + # -- image pull policy pullPolicy: IfNotPresent - tag: v4.0.8 -strategy: - type: Recreate -env: {} - # PHP_TZ: UTC - # PUID: 1001 - # PGID: 1001 +# -- environment variables. +# @default -- See below +env: + # -- Set the container timezone + PHP_TZ: UTC + # -- Specify the user ID the application will run as + PUID: "1001" + # -- Specify the group ID the application will run as + PGID: "1001" +# -- Configures service settings for the chart. +# @default -- See values.yaml service: - port: - port: 80 + main: + ports: + http: + port: 80 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: /conf - ## 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: "" uploads: enabled: false - emptyDir: - enabled: false mountPath: /uploads - ## 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: "" sym: enabled: false - emptyDir: - enabled: false mountPath: /sym - ## 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: ""