add versons

This commit is contained in:
M. Rehan
2023-11-20 17:55:48 +05:00
parent ea064bfe20
commit 7dd36d2ef4
3 changed files with 4305 additions and 3236 deletions
+3304 -3236
View File
File diff suppressed because it is too large Load Diff
+603
View File
@@ -0,0 +1,603 @@
{
"1.0.20": {
"healthy": true,
"supported": false,
"healthy_error": null,
"location": "/root/charts_2/tests/syncthing-with-acl/1.0.20",
"last_update": "2023-11-20 04:52:56",
"required_features": [
"normalize/acl",
"validations/lockedHostPath",
"normalize/ixVolume"
],
"human_version": "1.23.2_1.0.20",
"version": "1.0.20",
"chart_metadata": {
"name": "syncthing-with-acl",
"description": "Syncthing is a continuous file synchronization program.",
"annotations": {
"title": "Syncthing"
},
"type": "application",
"version": "1.0.20",
"apiVersion": "v2",
"appVersion": "1.23.2",
"kubeVersion": ">=1.16.0-0",
"maintainers": [
{
"name": "truenas",
"url": "https://www.truenas.com/",
"email": "dev@ixsystems.com"
}
],
"dependencies": [
{
"name": "common",
"repository": "file://../../../common/2207.0.0",
"version": "2207.0.0"
}
],
"home": "https://syncthing.net/",
"icon": "https://play-lh.googleusercontent.com/KIy_dqUdZqcsTq4GDstHrHwLRvu60gT3v0p41gw792BC6OxamNhUw2eIy0-LI05qNEA=w240-h480",
"sources": [
"https://syncthing.net",
"https://github.com/truenas/charts/tree/master/library/ix-dev/charts/syncthing"
],
"keywords": [
"storage",
"backup"
]
},
"app_metadata": null,
"schema": {
"groups": [
{
"name": "Configuration",
"description": "Syncthing application configuration"
},
{
"name": "Storage",
"description": "Configure storage for syncthing"
},
{
"name": "Networking",
"description": "Networking Configuration for syncthing"
},
{
"name": "Advanced DNS Settings",
"description": "Configure DNS settings"
},
{
"name": "Resource Limits",
"description": "Set CPU/memory limits for Kubernetes Pod"
}
],
"portals": {
"web_portal": {
"protocols": [
"http"
],
"host": [
"$node_ip"
],
"ports": [
"$variable-web_port"
],
"path": "/"
}
},
"questions": [
{
"variable": "web_port",
"label": "Web Port for syncthing",
"group": "Networking",
"schema": {
"type": "int",
"min": 8000,
"max": 65535,
"default": 20910,
"required": true
}
},
{
"variable": "tcp_port",
"label": "TCP Port for syncthing",
"group": "Networking",
"schema": {
"type": "int",
"min": 8000,
"max": 65535,
"default": 20978,
"required": true
}
},
{
"variable": "udp_port",
"label": "UDP Port for syncthing",
"group": "Networking",
"schema": {
"type": "int",
"min": 8000,
"max": 65535,
"default": 20979,
"required": true
}
},
{
"variable": "hostNetwork",
"label": "Host Network",
"group": "Networking",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dnsConfig",
"label": "DNS Configuration",
"group": "Advanced DNS Settings",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "options",
"label": "DNS Options",
"schema": {
"type": "list",
"items": [
{
"variable": "optionsEntry",
"label": "Option Entry Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Option Name",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "value",
"label": "Option Value",
"schema": {
"type": "string",
"required": true
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "ownerUID",
"label": "Owner User ID",
"group": "Configuration",
"schema": {
"type": "int",
"default": 568,
"min": 1,
"max": 65535
}
},
{
"variable": "ownerGID",
"label": "Owner Group ID",
"group": "Configuration",
"schema": {
"type": "int",
"default": 568,
"min": 1,
"max": 65535
}
},
{
"variable": "environmentVariables",
"label": "Syncthing environment",
"group": "Configuration",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "environmentVariable",
"label": "Environment Variable",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Name",
"schema": {
"type": "string"
}
},
{
"variable": "value",
"label": "Value",
"schema": {
"type": "string"
}
}
]
}
}
]
}
},
{
"variable": "appVolumeMounts",
"label": "Syncthing Storage",
"group": "Storage",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "config",
"label": "Configuration Volume",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "datasetName",
"label": "Configuration Volume Dataset Name",
"schema": {
"type": "string",
"hidden": true,
"$ref": [
"normalize/ixVolume"
],
"show_if": [
[
"hostPathEnabled",
"=",
false
]
],
"default": "ix-syncthing_config",
"editable": false
}
},
{
"variable": "testDataset",
"label": "Configuration Volume Dataset Name",
"schema": {
"type": "dict",
"$ref": [
"normalize/ixVolume"
],
"attrs": [
{
"variable": "datasetName",
"label": "ix volume dataset",
"schema": {
"type": "string",
"default": "ix-syncthing_test"
}
},
{
"variable": "aclEntries",
"label": "enter acl entry",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "path",
"label": "Path",
"description": "Path to perform ACL",
"schema": {
"type": "string",
"hidden": true
}
},
{
"variable": "entries",
"label": "ACL Entries",
"description": "ACL Entries",
"schema": {
"type": "list",
"items": [
{
"variable": "aclEntry",
"label": "ACL Entry",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "id_type",
"label": "ID Type",
"schema": {
"type": "string",
"enum": [
{
"value": "USER",
"description": "Entry is for a USER"
},
{
"value": "GROUP",
"description": "Entry is for a GROUP"
}
],
"default": "USER"
}
},
{
"variable": "id",
"label": "ID",
"schema": {
"type": "int",
"required": true,
"min": 0
}
},
{
"variable": "access",
"label": "Access",
"schema": {
"type": "string",
"enum": [
{
"value": "READ",
"description": "Read Access"
},
{
"value": "MODIFY",
"description": "Modify Access"
},
{
"value": "FULL_CONTROL",
"description": "FULL_CONTROL Access"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "mountPath",
"label": "Configuration Mount Path",
"description": "Path where the volume will be mounted inside the pod",
"schema": {
"type": "path",
"hidden": true,
"editable": true,
"default": "/var/syncthing"
}
},
{
"variable": "hostPathEnabled",
"label": "Enable Custom Host Path for Syncthing Configuration Volume",
"schema": {
"type": "boolean",
"default": false,
"show_subquestions_if": true,
"subquestions": [
{
"variable": "hostPath",
"label": "Host Path for Syncthing Configuration Volume",
"schema": {
"type": "hostpath",
"required": true,
"$ref": [
"validations/lockedHostPath"
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "extraAppVolumeMounts",
"label": "Extra Host Path Volumes",
"group": "Storage",
"schema": {
"type": "list",
"items": [
{
"variable": "extraAppVolume",
"label": "Host Path Volume",
"description": "Add an extra host path volume for Syncthing application",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "mountPath",
"label": "Mount Path in Pod",
"description": "Path where the volume will be mounted inside the pod",
"schema": {
"type": "path",
"required": true
}
},
{
"variable": "hostPath",
"label": "Host Path",
"description": "Host path",
"schema": {
"type": "hostpath",
"required": true,
"$ref": [
"validations/lockedHostPath"
]
}
}
]
}
}
]
}
},
{
"variable": "aclEntries",
"label": "enter acl entries",
"group": "Storage",
"schema": {
"type": "list",
"items": [
{
"variable": "aclEntry",
"label": "enter acl entrie",
"schema": {
"$ref": [
"normalize/acl"
],
"type": "dict",
"attrs": [
{
"variable": "path",
"label": "Host Path",
"description": "Host Path to perform ACL",
"schema": {
"type": "hostpath",
"required": true,
"empty": false
}
},
{
"variable": "entries",
"label": "ACL Entries",
"description": "ACL Entries",
"schema": {
"type": "list",
"items": [
{
"variable": "aclEntry",
"label": "ACL Entry",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "id_type",
"label": "ID Type",
"schema": {
"type": "string",
"enum": [
{
"value": "USER",
"description": "Entry is for a USER"
},
{
"value": "GROUP",
"description": "Entry is for a GROUP"
}
],
"default": "USER"
}
},
{
"variable": "id",
"label": "ID",
"schema": {
"type": "int",
"required": true,
"min": 0
}
},
{
"variable": "access",
"label": "Access",
"schema": {
"type": "string",
"enum": [
{
"value": "READ",
"description": "Read Access"
},
{
"value": "MODIFY",
"description": "Modify Access"
},
{
"value": "FULL_CONTROL",
"description": "FULL_CONTROL Access"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "enableResourceLimits",
"label": "Enable Pod resource limits",
"group": "Resource Limits",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "cpuLimit",
"label": "CPU Limresource limitsit",
"description": "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100.",
"group": "Resource Limits",
"schema": {
"type": "string",
"show_if": [
[
"enableResourceLimits",
"=",
true
]
],
"valid_chars": "^\\d+(?:\\.\\d+(?!.*m$)|m?$)",
"default": "4000m"
}
},
{
"variable": "memLimit",
"label": "Memory Limit",
"group": "Resource Limits",
"description": "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M, 128974848000m, 123Mi",
"schema": {
"type": "string",
"show_if": [
[
"enableResourceLimits",
"=",
true
]
],
"valid_chars": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$",
"default": "8Gi"
}
}
]
},
"app_readme": "<h1>Syncthing</h1>\n<p><a href=\"https://syncthing.net/\">syncthing</a> is a continuous file synchronization program. It synchronizes files between two or\nmore computers in real time, safely protected from prying eyes.</p>\n<blockquote>\n<p><strong>WARNING</strong> Do check out https://docs.syncthing.net/users/faq.html#what-things-are-synced to see what is synced.</p>\n</blockquote>",
"detailed_readme": "<h1>Syncthing</h1>\n<p><a href=\"https://syncthing.net/\">syncthing</a> is a continuous file synchronization program. It synchronizes files between two or\nmore computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose\nwhere it is stored, whether it is shared with some third party, and how it's transmitted over the internet.</p>",
"changelog": null
}
}
+398
View File
@@ -0,0 +1,398 @@
{
"1.0.20": {
"healthy": true,
"supported": true,
"healthy_error": null,
"location": "/root/charts_2/tests/syncthing/1.0.20",
"last_update": "2023-11-20 04:52:56",
"required_features": [
"validations/lockedHostPath",
"normalize/ixVolume"
],
"human_version": "1.23.2_1.0.20",
"version": "1.0.20",
"chart_metadata": {
"name": "syncthing",
"description": "Syncthing is a continuous file synchronization program.",
"annotations": {
"title": "Syncthing"
},
"type": "application",
"version": "1.0.20",
"apiVersion": "v2",
"appVersion": "1.23.2",
"kubeVersion": ">=1.16.0-0",
"maintainers": [
{
"name": "truenas",
"url": "https://www.truenas.com/",
"email": "dev@ixsystems.com"
}
],
"dependencies": [
{
"name": "common",
"repository": "file://../../../common/2207.0.0",
"version": "2207.0.0"
}
],
"home": "https://syncthing.net/",
"icon": "https://play-lh.googleusercontent.com/KIy_dqUdZqcsTq4GDstHrHwLRvu60gT3v0p41gw792BC6OxamNhUw2eIy0-LI05qNEA=w240-h480",
"sources": [
"https://syncthing.net",
"https://github.com/truenas/charts/tree/master/library/ix-dev/charts/syncthing"
],
"keywords": [
"storage",
"backup"
]
},
"app_metadata": null,
"schema": {
"groups": [
{
"name": "Configuration",
"description": "Syncthing application configuration"
},
{
"name": "Storage",
"description": "Configure storage for syncthing"
},
{
"name": "Networking",
"description": "Networking Configuration for syncthing"
},
{
"name": "Advanced DNS Settings",
"description": "Configure DNS settings"
},
{
"name": "Resource Limits",
"description": "Set CPU/memory limits for Kubernetes Pod"
}
],
"portals": {
"web_portal": {
"protocols": [
"http"
],
"host": [
"$node_ip"
],
"ports": [
"$variable-web_port"
],
"path": "/"
}
},
"questions": [
{
"variable": "web_port",
"label": "Web Port for syncthing",
"group": "Networking",
"schema": {
"type": "int",
"min": 8000,
"max": 65535,
"default": 20910,
"required": true
}
},
{
"variable": "tcp_port",
"label": "TCP Port for syncthing",
"group": "Networking",
"schema": {
"type": "int",
"min": 8000,
"max": 65535,
"default": 20978,
"required": true
}
},
{
"variable": "udp_port",
"label": "UDP Port for syncthing",
"group": "Networking",
"schema": {
"type": "int",
"min": 8000,
"max": 65535,
"default": 20979,
"required": true
}
},
{
"variable": "hostNetwork",
"label": "Host Network",
"group": "Networking",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dnsConfig",
"label": "DNS Configuration",
"group": "Advanced DNS Settings",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "options",
"label": "DNS Options",
"schema": {
"type": "list",
"items": [
{
"variable": "optionsEntry",
"label": "Option Entry Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Option Name",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "value",
"label": "Option Value",
"schema": {
"type": "string",
"required": true
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "ownerUID",
"label": "Owner User ID",
"group": "Configuration",
"schema": {
"type": "int",
"default": 568,
"min": 1,
"max": 65535
}
},
{
"variable": "ownerGID",
"label": "Owner Group ID",
"group": "Configuration",
"schema": {
"type": "int",
"default": 568,
"min": 1,
"max": 65535
}
},
{
"variable": "environmentVariables",
"label": "Syncthing environment",
"group": "Configuration",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "environmentVariable",
"label": "Environment Variable",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Name",
"schema": {
"type": "string"
}
},
{
"variable": "value",
"label": "Value",
"schema": {
"type": "string"
}
}
]
}
}
]
}
},
{
"variable": "appVolumeMounts",
"label": "Syncthing Storage",
"group": "Storage",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "config",
"label": "Configuration Volume",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "datasetName",
"label": "Configuration Volume Dataset Name",
"schema": {
"type": "string",
"hidden": true,
"$ref": [
"normalize/ixVolume"
],
"show_if": [
[
"hostPathEnabled",
"=",
false
]
],
"default": "ix-syncthing_config",
"editable": false
}
},
{
"variable": "mountPath",
"label": "Configuration Mount Path",
"description": "Path where the volume will be mounted inside the pod",
"schema": {
"type": "path",
"hidden": true,
"editable": true,
"default": "/var/syncthing"
}
},
{
"variable": "hostPathEnabled",
"label": "Enable Custom Host Path for Syncthing Configuration Volume",
"schema": {
"type": "boolean",
"default": false,
"show_subquestions_if": true,
"subquestions": [
{
"variable": "hostPath",
"label": "Host Path for Syncthing Configuration Volume",
"schema": {
"type": "hostpath",
"required": true,
"$ref": [
"validations/lockedHostPath"
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "extraAppVolumeMounts",
"label": "Extra Host Path Volumes",
"group": "Storage",
"schema": {
"type": "list",
"items": [
{
"variable": "extraAppVolume",
"label": "Host Path Volume",
"description": "Add an extra host path volume for Syncthing application",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "mountPath",
"label": "Mount Path in Pod",
"description": "Path where the volume will be mounted inside the pod",
"schema": {
"type": "path",
"required": true
}
},
{
"variable": "hostPath",
"label": "Host Path",
"description": "Host path",
"schema": {
"type": "hostpath",
"required": true,
"$ref": [
"validations/lockedHostPath"
]
}
}
]
}
}
]
}
},
{
"variable": "enableResourceLimits",
"label": "Enable Pod resource limits",
"group": "Resource Limits",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "cpuLimit",
"label": "CPU Limresource limitsit",
"description": "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100.",
"group": "Resource Limits",
"schema": {
"type": "string",
"show_if": [
[
"enableResourceLimits",
"=",
true
]
],
"valid_chars": "^\\d+(?:\\.\\d+(?!.*m$)|m?$)",
"default": "4000m"
}
},
{
"variable": "memLimit",
"label": "Memory Limit",
"group": "Resource Limits",
"description": "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M, 128974848000m, 123Mi",
"schema": {
"type": "string",
"show_if": [
[
"enableResourceLimits",
"=",
true
]
],
"valid_chars": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$",
"default": "8Gi"
}
}
]
},
"app_readme": "<h1>Syncthing</h1>\n<p><a href=\"https://syncthing.net/\">syncthing</a> is a continuous file synchronization program. It synchronizes files between two or\nmore computers in real time, safely protected from prying eyes.</p>\n<blockquote>\n<p><strong>WARNING</strong> Do check out https://docs.syncthing.net/users/faq.html#what-things-are-synced to see what is synced.</p>\n</blockquote>",
"detailed_readme": "<h1>Syncthing</h1>\n<p><a href=\"https://syncthing.net/\">syncthing</a> is a continuous file synchronization program. It synchronizes files between two or\nmore computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose\nwhere it is stored, whether it is shared with some third party, and how it's transmitted over the internet.</p>",
"changelog": null
}
}