[photoprism] Migrate to common v3 (#980)

* [photoprism] Migrate to common v3

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Fix indenting

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-11 19:29:55 +02:00 committed by GitHub
parent 527dd9fcc9
commit 0c589bf088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 68 additions and 55 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "20201122"
appVersion: "20210523"
description: PhotoPrism® is a server-based application for browsing, organizing and sharing your personal photo collection
name: photoprism
version: 4.4.0
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- photos
@ -20,4 +20,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@ -1,6 +1,6 @@
# photoprism
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: 20201122](https://img.shields.io/badge/AppVersion-20201122-informational?style=flat-square)
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: 20210523](https://img.shields.io/badge/AppVersion-20210523-informational?style=flat-square)
PhotoPrism® is a server-based application for browsing, organizing and sharing your personal photo collection
@ -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
@ -76,20 +76,21 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.PHOTOPRISM_ORIGINALS_PATH | string | `"/photoprism/originals"` | |
| env.PHOTOPRISM_STORAGE_PATH | string | `"/photoprism/storage"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"photoprism/photoprism"` | |
| image.tag | string | `"20201122"` | |
| ingress.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.config.mountPath | string | `"/photoprism/storage"` | |
| persistence.originals.emptyDir.enabled | bool | `false` | |
| persistence.originals.enabled | bool | `false` | |
| persistence.originals.mountPath | string | `"/photoprism/originals"` | |
| service.port.port | int | `2342` | |
| strategy.type | string | `"Recreate"` | |
| env | object | See below | environment variables. See [image docs](https://docs.photoprism.org/getting-started/config-options/) for more details. |
| env.GID | string | `nil` | Sets GID Photoprism runs under. |
| env.PHOTOPRISM_ADMIN_PASSWORD | string | `"please-change"` | Initial admin password. **BE SURE TO CHANGE THIS!** |
| env.PHOTOPRISM_ORIGINALS_PATH | string | `"/photoprism/originals"` | Photoprism originals path |
| env.PHOTOPRISM_PUBLIC | string | `"false"` | Disable authentication / password protection |
| env.PHOTOPRISM_STORAGE_PATH | string | `"/photoprism/storage"` | Photoprism storage path |
| env.TZ | string | `"UTC"` | Set the container timezone |
| env.UID | string | `nil` | Sets UID Photoprism runs under. |
| env.UMASK | string | `nil` | Sets UMASK. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"photoprism/photoprism"` | image repository |
| image.tag | string | `"20210523"` | 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
@ -97,6 +98,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.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 `20210523`.
### [1.0.0]
#### Added

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.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 `20210523`.
### [1.0.0]
#### Added

View File

@ -6,58 +6,54 @@
#
image:
# -- image repository
repository: photoprism/photoprism
# -- image tag
tag: "20210523"
# -- image pull policy
pullPolicy: IfNotPresent
tag: "20201122"
strategy:
type: Recreate
# -- environment variables. See [image docs](https://docs.photoprism.org/getting-started/config-options/) for more details.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Photoprism storage path
PHOTOPRISM_STORAGE_PATH: /photoprism/storage
# -- Photoprism originals path
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
## See other config options from PhotoPrism documentation: https://docs.photoprism.org/getting-started/config-options/
# PHOTOPRISM_ADMIN_PASSWORD: "please-change" # Initial admin password: PLEASE CHANGE!
# PHOTOPRISM_DEBUG: "false" # Run in debug mode (shows additional log messages)
# PHOTOPRISM_PUBLIC: "false" # No authentication required (disables password protection)
# PHOTOPRISM_READONLY: "false" # Don't modify originals directory (reduced functionality)
# PHOTOPRISM_EXPERIMENTAL: "false" # Enable experimental features
# PHOTOPRISM_SITE_URL: "http://localhost:2342/" # Canonical / public site URL
# PHOTOPRISM_SITE_TITLE: "PhotoPrism"
# PHOTOPRISM_SITE_CAPTION: "Browse Your Life"
# PHOTOPRISM_SITE_DESCRIPTION: ""
# PHOTOPRISM_SITE_AUTHOR: ""
# # You may optionally set user, group and/or file permissions using environment variables:
# UID: 1000
# GID: 1000
# UMASK: 0000
# -- Initial admin password. **BE SURE TO CHANGE THIS!**
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
# -- Disable authentication / password protection
PHOTOPRISM_PUBLIC: "false"
# -- Sets UID Photoprism runs under.
UID: # 1000
# -- Sets GID Photoprism runs under.
GID: # 1000
# -- Sets UMASK.
UMASK: # 0000
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
main:
ports:
http:
port: 2342
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: /photoprism/storage
originals:
enabled: false
emptyDir:
enabled: false
mountPath: "/photoprism/originals"
# readOnly: true
# additionalVolumeMounts:
# - name: originals
# mountPath: "/photoprism/originals"
# readOnly: true
# additionalVolumes:
# - name: originals
# persistentVolumeClaim:
# claimName: nfs-pictures-pvc