From a8c1b289da01bc3247625f92b78244db27ee428b Mon Sep 17 00:00:00 2001 From: "M. Rehan" Date: Fri, 29 Mar 2024 05:57:13 +0500 Subject: [PATCH] Add test cases for language type --- charts/plex/2.0.3/questions.yaml | 36 +++++++++++++++++++++++++ charts/plex/app_versions.json | 46 +++++++++++++++++++++++++++++++- 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/charts/plex/2.0.3/questions.yaml b/charts/plex/2.0.3/questions.yaml index 2a775a2f94..32242d8971 100644 --- a/charts/plex/2.0.3/questions.yaml +++ b/charts/plex/2.0.3/questions.yaml @@ -33,6 +33,42 @@ questions: $ref: - definitions/timezone + - variable: testyamllang + label: Test YAML Language + group: Plex Configuration + description: This is to test yaml language type + schema: + type: text + default: "" + language: "yaml" + + - variable: testtomllang + label: Test TOML Language + group: Plex Configuration + description: This is to test toml language type + schema: + type: text + default: "" + language: "toml" + + - variable: testjsonlang + label: Test JSON Language + group: Plex Configuration + description: This is to test json language type + schema: + type: text + default: "" + language: "json" + + - variable: testtextlang + label: Test Text Language + group: Plex Configuration + description: This is to test json language type + schema: + type: text + default: "" + language: "text" + - variable: plexConfig label: "" group: Plex Configuration diff --git a/charts/plex/app_versions.json b/charts/plex/app_versions.json index 81d3340e50..4d36c6c395 100644 --- a/charts/plex/app_versions.json +++ b/charts/plex/app_versions.json @@ -152,6 +152,50 @@ ] } }, + { + "variable": "testyamllang", + "label": "Test YAML Language", + "group": "Plex Configuration", + "description": "This is to test yaml language type", + "schema": { + "type": "text", + "default": "", + "language": "yaml" + } + }, + { + "variable": "testtomllang", + "label": "Test TOML Language", + "group": "Plex Configuration", + "description": "This is to test toml language type", + "schema": { + "type": "text", + "default": "", + "language": "toml" + } + }, + { + "variable": "testjsonlang", + "label": "Test JSON Language", + "group": "Plex Configuration", + "description": "This is to test json language type", + "schema": { + "type": "text", + "default": "", + "language": "json" + } + }, + { + "variable": "testtextlang", + "label": "Test Text Language", + "group": "Plex Configuration", + "description": "This is to test json language type", + "schema": { + "type": "text", + "default": "", + "language": "text" + } + }, { "variable": "plexConfig", "label": "", @@ -2562,4 +2606,4 @@ "detailed_readme": "

Plex Media Server helm chart

\n

Configuration

\n

Please refer to questions.yaml for a detailed overview on supported configurable items.

", "changelog": null } -} \ No newline at end of file +}