[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
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

View File

@ -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

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).
### [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 -}}

View File

@ -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:
main:
ports:
http:
port: 80
ingress:
# -- 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: <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:
enabled: false
emptyDir:
enabled: false
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:
enabled: false
emptyDir:
enabled: false
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: ""