[lychee] Migrate to common v3 (#1035)

* [lychee] Migrate to common v3

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
Co-authored-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-21 11:58:41 +02:00 committed by GitHub
parent 405f263a40
commit 414b7af680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 62 additions and 77 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2 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 description: Lychee is a free photo-management tool, which runs on your server or web-space
name: lychee name: lychee
version: 4.4.0 version: 5.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- lychee - lychee
@ -19,4 +19,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.2.0

View File

@ -1,6 +1,6 @@
# lychee # 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 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 | | 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 ## TL;DR
@ -76,22 +76,16 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.PGID | string | `"1001"` | Specify the group ID the application will run as |
| image.repository | string | `"lycheeorg/lychee-laravel"` | | | env.PHP_TZ | string | `"UTC"` | Set the container timezone |
| image.tag | string | `"v4.0.8"` | | | env.PUID | string | `"1001"` | Specify the user ID the application will run as |
| ingress.enabled | bool | `false` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| persistence.config.emptyDir.enabled | bool | `false` | | | image.repository | string | `"lycheeorg/lychee-laravel"` | image repository |
| persistence.config.enabled | bool | `false` | | | image.tag | string | `"v4.3.0"` | image tag |
| persistence.config.mountPath | string | `"/conf"` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.sym.emptyDir.enabled | bool | `false` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.sym.enabled | bool | `false` | | | service | object | See values.yaml | Configures service settings for the chart. |
| 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"` | |
## Changelog ## 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). 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] ### [4.3.2]
#### Added #### Added
@ -127,8 +129,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[4.3.2]: #4.3.2 [5.0.0]: #500
[1.0.0]: #1.0.0 [4.3.2]: #432
[1.0.0]: #100
## Support ## Support

View File

@ -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). 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] ### [4.3.2]
#### Added #### Added
@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[4.3.2]: #4.3.2 [5.0.0]: #500
[1.0.0]: #1.0.0 [4.3.2]: #432
[1.0.0]: #100
{{- end -}} {{- end -}}

View File

@ -6,76 +6,49 @@
# #
image: image:
# -- image repository
repository: lycheeorg/lychee-laravel repository: lycheeorg/lychee-laravel
# -- image tag
tag: v4.3.0
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v4.0.8
strategy:
type: Recreate
env: {} # -- environment variables.
# PHP_TZ: UTC # @default -- See below
# PUID: 1001 env:
# PGID: 1001 # -- 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: service:
port: main:
ports:
http:
port: 80 port: 80
ingress: ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false 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: /conf mountPath: /conf
## 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: ""
uploads: uploads:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /uploads mountPath: /uploads
## 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: ""
sym: sym:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /sym mountPath: /sym
## 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: ""