feat: add --config-url-insecure option to disable TLS certificate verification

Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
d9pouces
2026-09-20 22:36:40 +02:00
parent eff9ca66d2
commit 204d648477
5 changed files with 169 additions and 25 deletions
+12 -9
View File
@@ -38,18 +38,19 @@ description:
author:
- InterDiode
options:
version:
type: str
default: "1.0"
description: Configuration.version - the configuration format's own schema version.
uuid:
type: str
required: true
description: Configuration.uuid - a UUID identifying this configuration.
description: Configuration.uuid - a UUID identifying this configuration, optional.
organisation:
type: str
required: true
description: Configuration.organisation.
description: Configuration.organisation, optional.
description:
type: str
default: ""
description: Configuration.description.
description: Configuration.description, optional.
certificates:
type: list
elements: dict
@@ -467,9 +468,10 @@ def _name_url_repository_config() -> dict:
ARGUMENT_SPEC = {
"uuid": {"type": "str", "required": True},
"organisation": {"type": "str", "required": True},
"description": {"type": "str", "default": ""},
"version": {"type": "str", "default": "1.0"},
"uuid": {"type": "str"},
"organisation": {"type": "str"},
"description": {"type": "str"},
"certificates": {
"type": "list",
"elements": "dict",
@@ -596,6 +598,7 @@ except ImportError as exc:
def _build_configuration_data(params: dict) -> dict:
return {
"version": params["version"],
"uuid": params["uuid"],
"organisation": params["organisation"],
"description": params["description"],