mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 05:39:24 +08:00
Adjust photorism's update strategy to the new upstream format (#1203)
This commit is contained in:
@@ -3,9 +3,9 @@ description: AI-powered app for browsing, organizing & sharing your photo collec
|
||||
annotations:
|
||||
title: PhotoPrism
|
||||
type: application
|
||||
version: 1.0.19
|
||||
version: 1.0.20
|
||||
apiVersion: v2
|
||||
appVersion: '221118'
|
||||
appVersion: '230514'
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- name: truenas
|
||||
|
||||
@@ -6,7 +6,7 @@ import re
|
||||
from catalog_update.upgrade_strategy import datetime_versioning
|
||||
|
||||
|
||||
VERSION_REG = r'2[2-9][0-1][0-9][0-3][0-9]-jammy'
|
||||
VERSION_REG = r'2[3-9][0-1][0-9][0-3][0-9]'
|
||||
|
||||
|
||||
def newer_mapping(image_tags):
|
||||
@@ -22,7 +22,7 @@ def newer_mapping(image_tags):
|
||||
return {}
|
||||
|
||||
return {
|
||||
'tags': {key: f'{version}-jammy'},
|
||||
'tags': {key: f'{version}'},
|
||||
'app_version': version,
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: photoprism/photoprism
|
||||
tag: 221118-jammy
|
||||
tag: '230514'
|
||||
|
||||
Reference in New Issue
Block a user