Update catalog information

This commit is contained in:
sonicaj
2023-06-07 22:30:46 +00:00
parent ed70c0e1cf
commit 71014edb29
88 changed files with 996 additions and 1027 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,31 +0,0 @@
#!/usr/bin/python3
import json
import re
import sys
from catalog_update.upgrade_strategy import semantic_versioning
RE_STABLE_VERSION = re.compile(r'latest')
def newer_mapping(image_tags):
key = list(image_tags.keys())[0]
tags = {t: t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
version = semantic_versioning(list(tags))
if not version:
return {}
return {
'tags': {key: tags[version]},
'app_version': version,
}
if __name__ == '__main__':
try:
versions_json = json.loads(sys.stdin.read())
except ValueError:
raise ValueError('Invalid json specified')
print(json.dumps(newer_mapping(versions_json)))

View File

@@ -3,9 +3,9 @@ description: Lightweight universal DDNS Updater with web UI
annotations:
title: DDNS Updater
type: application
version: 1.0.4
version: 1.0.5
apiVersion: v2
appVersion: 'latest'
appVersion: 'v2.5.0'
kubeVersion: '>=1.16.0-0'
maintainers:
- name: truenas

View File

@@ -1,7 +1,7 @@
image:
repository: qmcgaw/ddns-updater
pullPolicy: IfNotPresent
tag: latest
tag: v2.5.0
ci: false