initial commit

This commit is contained in:
Stavros kois
2023-11-13 17:16:10 +02:00
committed by Stavros Kois
parent 6b23be8232
commit f21a450701
7 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../../common
version: 1.2.3
digest: sha256:e6ff49b06bf5d4d159e505ae6d153f36cd46170bb519caf90462cd5caebfd0fb
generated: "2023-11-13T17:15:19.01883842+02:00"

View File

@@ -0,0 +1,25 @@
name: dashy
description: Dashy is a self-hostable personal dashboard built for you.
annotations:
title: Dashy
type: application
version: 1.0.0
apiVersion: v2
appVersion: 2.1.1
kubeVersion: '>=1.16.0-0'
maintainers:
- name: truenas
url: https://www.truenas.com/
email: dev@ixsystems.com
dependencies:
- name: common
repository: file://../../../common
version: 1.2.3
home: https://dashy.to/
icon: https://media.sys.truenas.net/apps/dashy/icons/icon.png
sources:
- https://dashy.to/
- https://github.com/truenas/charts/tree/master/library/ix-dev/community/dashy
- https://github.com/lissy93/dashy
keywords:
- dashboard

Binary file not shown.

View File

@@ -0,0 +1,8 @@
icon_url: https://media.sys.truenas.net/apps/dashy/icons/icon.png
categories:
- productivity
screenshots:
- https://media.sys.truenas.net/apps/dashy/screenshots/screenshot1.gif
- https://media.sys.truenas.net/apps/dashy/screenshots/screenshot2.gif
tags:
- dashboard

View File

@@ -0,0 +1 @@
{{ include "ix.v1.common.lib.chart.notes" $ }}

View File

@@ -0,0 +1 @@
{ "filename": "values.yaml", "keys": ["image"] }

View File

@@ -0,0 +1,31 @@
#!/usr/bin/python3
import json
import re
import sys
from catalog_update.upgrade_strategy import semantic_versioning
RE_STABLE_VERSION = re.compile(r'\d+\.\d+\.\d+')
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)))