(fix) Update photoprisms pvc's and paths (#1120)
BREAKING CHANGE Backup your config PVC as they WILL get wiped.
This commit is contained in:
@@ -22,4 +22,4 @@ name: photoprism
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/photoprism/photoprism
|
- https://github.com/photoprism/photoprism
|
||||||
- https://hub.docker.com/r/photoprism/photoprism
|
- https://hub.docker.com/r/photoprism/photoprism
|
||||||
version: 3.0.9
|
version: 4.0.0
|
||||||
|
|||||||
@@ -78,20 +78,66 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "568"
|
default: "568"
|
||||||
|
|
||||||
|
|
||||||
- variable: PHOTOPRISM_STORAGE_PATH
|
|
||||||
label: "PHOTOPRISM_STORAGE_PATH"
|
|
||||||
description: "Photoprism storage path"
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
default: "/photoprism/storage"
|
|
||||||
- variable: PHOTOPRISM_ORIGINALS_PATH
|
- variable: PHOTOPRISM_ORIGINALS_PATH
|
||||||
label: "PHOTOPRISM_ORIGINALS_PATH"
|
label: "PHOTOPRISM_ORIGINALS_PATH"
|
||||||
description: "Photoprism originals path"
|
description: "Photoprism originals path"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "/photoprism/originals"
|
default: "/photoprism/originals"
|
||||||
|
- variable: PHOTOPRISM_IMPORT_PATH
|
||||||
|
label: "PHOTOPRISM_IMPORT_PATH"
|
||||||
|
description: "Photoprism import path"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "/photoprism/import"
|
||||||
|
- variable: PHOTOPRISM_TEMP_PATH
|
||||||
|
label: "PHOTOPRISM_TEMP_PATH"
|
||||||
|
description: "Photoprism temp path"
|
||||||
|
schema:
|
||||||
|
hidden: true
|
||||||
|
editable: false
|
||||||
|
type: string
|
||||||
|
default: "/photoprism/temp"
|
||||||
|
- variable: PHOTOPRISM_STORAGE_PATH
|
||||||
|
label: "PHOTOPRISM_STORAGE_PATH"
|
||||||
|
description: "Photoprism storage path"
|
||||||
|
schema:
|
||||||
|
hidden: true
|
||||||
|
editable: false
|
||||||
|
type: string
|
||||||
|
default: "/assets/storage"
|
||||||
|
- variable: PHOTOPRISM_SIDECAR_PATH
|
||||||
|
label: "PHOTOPRISM_SIDECAR_PATH"
|
||||||
|
description: "Photoprism sidecar path"
|
||||||
|
schema:
|
||||||
|
hidden: true
|
||||||
|
editable: false
|
||||||
|
type: string
|
||||||
|
default: "/assets/sidecar"
|
||||||
|
- variable: PHOTOPRISM_CACHE_PATH
|
||||||
|
label: "PHOTOPRISM_CACHE_PATH"
|
||||||
|
description: "Photoprism cache path"
|
||||||
|
schema:
|
||||||
|
hidden: true
|
||||||
|
editable: false
|
||||||
|
type: string
|
||||||
|
default: "/assets/cache"
|
||||||
|
- variable: PHOTOPRISM_CONFIG_PATH
|
||||||
|
label: "PHOTOPRISM_CONFIG_PATH"
|
||||||
|
description: "Photoprism config path"
|
||||||
|
schema:
|
||||||
|
hidden: true
|
||||||
|
editable: false
|
||||||
|
type: string
|
||||||
|
default: "/assets/config"
|
||||||
|
- variable: PROTOPRISM_BACKUP_PATH
|
||||||
|
label: "PROTOPRISM_BACKUP_PATH"
|
||||||
|
description: "Photoprism backup path"
|
||||||
|
schema:
|
||||||
|
hidden: true
|
||||||
|
editable: false
|
||||||
|
type: string
|
||||||
|
default: "/assets/backup"
|
||||||
- variable: PHOTOPRISM_ADMIN_PASSWORD
|
- variable: PHOTOPRISM_ADMIN_PASSWORD
|
||||||
label: "PHOTOPRISM_ADMIN_PASSWORD"
|
label: "PHOTOPRISM_ADMIN_PASSWORD"
|
||||||
description: "Initial admin password. **BE SURE TO CHANGE THIS!**"
|
description: "Initial admin password. **BE SURE TO CHANGE THIS!**"
|
||||||
@@ -236,8 +282,8 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: config
|
- variable: storage
|
||||||
label: "App Config Storage"
|
label: "App Storage"
|
||||||
description: "Stores the Application Configuration."
|
description: "Stores the Application Configuration."
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
@@ -313,7 +359,7 @@ questions:
|
|||||||
description: "Path inside the container the storage is mounted"
|
description: "Path inside the container the storage is mounted"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "/photoprism/storage"
|
default: "/assets"
|
||||||
hidden: true
|
hidden: true
|
||||||
- variable: medium
|
- variable: medium
|
||||||
label: "EmptyDir Medium"
|
label: "EmptyDir Medium"
|
||||||
@@ -346,6 +392,33 @@ questions:
|
|||||||
show_if: [["type", "=", "pvc"]]
|
show_if: [["type", "=", "pvc"]]
|
||||||
type: string
|
type: string
|
||||||
default: "100Gi"
|
default: "100Gi"
|
||||||
|
- variable: temp
|
||||||
|
label: "App temp mount"
|
||||||
|
description: "Stores some temporary files"
|
||||||
|
schema:
|
||||||
|
type: dict
|
||||||
|
hidden: true
|
||||||
|
attrs:
|
||||||
|
- variable: enabled
|
||||||
|
label: "Enable the storage"
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
hidden: true
|
||||||
|
default: true
|
||||||
|
- variable: type
|
||||||
|
label: "(Advanced) Type of Storage"
|
||||||
|
description: "Sets the persistence type"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "emptyDir"
|
||||||
|
hidden: true
|
||||||
|
- variable: mountPath
|
||||||
|
label: "mountPath"
|
||||||
|
description: "Path inside the container the storage is mounted"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "/photoprism/temp"
|
||||||
|
hidden: true
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
|
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
|
|||||||
@@ -21,10 +21,22 @@ securityContext:
|
|||||||
env:
|
env:
|
||||||
# -- Set the container timezone
|
# -- Set the container timezone
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
# -- Photoprism storage path
|
|
||||||
PHOTOPRISM_STORAGE_PATH: /photoprism/storage
|
|
||||||
# -- Photoprism originals path
|
# -- Photoprism originals path
|
||||||
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
|
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
|
||||||
|
# -- Photoprism import path
|
||||||
|
PHOTOPRISM_IMPORT_PATH: /photoprism/import
|
||||||
|
# -- Photoprism temp path
|
||||||
|
PHOTOPRISM_TEMP_PATH: /photoprism/temp
|
||||||
|
# -- Photoprism storage path
|
||||||
|
PHOTOPRISM_STORAGE_PATH: /assets/storage
|
||||||
|
# -- Photoprism sidecar path
|
||||||
|
PHOTOPRISM_SIDECAR_PATH: /assets/sidecar
|
||||||
|
# -- Photoprism cache path
|
||||||
|
PHOTOPRISM_CACHE_PATH: /assets/cache
|
||||||
|
# -- Photoprism config path
|
||||||
|
PHOTOPRISM_CONFIG_PATH: /assets/config
|
||||||
|
# -- Photoprism backup path
|
||||||
|
PROTOPRISM_BACKUP_PATH: /assets/backup
|
||||||
# -- Initial admin password. **BE SURE TO CHANGE THIS!**
|
# -- Initial admin password. **BE SURE TO CHANGE THIS!**
|
||||||
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
||||||
# -- Disable authentication / password protection
|
# -- Disable authentication / password protection
|
||||||
@@ -47,13 +59,14 @@ service:
|
|||||||
# -- Configure persistence settings for the chart under this key.
|
# -- Configure persistence settings for the chart under this key.
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
storage:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: pvc
|
type: pvc
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: "100Gi"
|
size: "100Gi"
|
||||||
mountPath: /photoprism/storage
|
mountPath: /assets
|
||||||
|
|
||||||
originals:
|
temp:
|
||||||
enabled: false
|
enabled: true
|
||||||
mountPath: "/photoprism/originals"
|
mountPath: /photoprism/temp
|
||||||
|
type: emptyDir
|
||||||
|
|||||||
Reference in New Issue
Block a user