mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.1.0
|
||||
digest: sha256:752ce76025f5b61094bd2b18ca11693eb9d26d0dde4eb2e63cd2330cbffe9e73
|
||||
generated: "2023-09-04T16:52:07.820526694+03:00"
|
||||
@@ -0,0 +1,25 @@
|
||||
name: wazuh
|
||||
description: Wazuh is an open source security platform
|
||||
apps.
|
||||
annotations:
|
||||
title: Wazuh
|
||||
type: application
|
||||
version: 1.0.0
|
||||
apiVersion: v2
|
||||
appVersion: 4.8.0
|
||||
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.1.0
|
||||
home: https://wazuh.com/
|
||||
icon: https://avatars.githubusercontent.com/u/13752566
|
||||
sources:
|
||||
- https://github.com/truenas/charts/tree/master/community/wazuh
|
||||
- https://github.com/wazuh/wazuh-docker/
|
||||
keywords:
|
||||
- security
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
icon_url: https://avatars.githubusercontent.com/u/13752566
|
||||
categories:
|
||||
- security
|
||||
screenshots:
|
||||
- https://wazuh.com/uploads/2017/06/wazuh-ui-general-view.png
|
||||
- https://wazuh.com/uploads/2017/06/wazuh-ui-agent-view.png
|
||||
- https://wazuh.com/uploads/2017/06/wazuh-ui-agents-discover-tab-zoomed-in.png
|
||||
tags:
|
||||
- security
|
||||
@@ -0,0 +1 @@
|
||||
{{ include "ix.v1.common.lib.chart.notes" $ }}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"filename": "values.yaml",
|
||||
"keys": ["image", "indexerImage", "dashboardImage"]
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/python3
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
|
||||
from catalog_update.upgrade_strategy import semantic_versioning
|
||||
|
||||
|
||||
RE_STABLE_VERSION = re.compile(r'version-[0-9]+\.[0-9]+\.[0-9]+')
|
||||
|
||||
|
||||
def newer_mapping(image_tags):
|
||||
output = {
|
||||
"tags": {},
|
||||
"app_version": ""
|
||||
}
|
||||
|
||||
for key in image_tags.keys():
|
||||
tags = {t.strip('version-'): t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
|
||||
version = semantic_versioning(list(tags))
|
||||
if not version:
|
||||
continue
|
||||
|
||||
if key == 'image':
|
||||
output['app_version'] = version
|
||||
|
||||
output['tags'][key] = tags[version]
|
||||
|
||||
return output
|
||||
|
||||
|
||||
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)))
|
||||
Reference in New Issue
Block a user