fix(questions): Fix Incubator questions (#15623)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
StevenMcElligott
2023-12-03 00:19:25 +01:00
committed by GitHub
parent 1538c480c2
commit 31937a9217
7 changed files with 340 additions and 373 deletions
@@ -10,12 +10,6 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: env - variable: env
group: "App Configuration" group: "App Configuration"
label: "Image Environment" label: "Image Environment"
@@ -72,6 +66,7 @@ questions:
default: "" default: ""
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions} # Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
@@ -114,28 +109,28 @@ questions:
# Include{ingressAdvanced} # Include{ingressAdvanced}
# Include{ingressList} # Include{ingressList}
# Include{securityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: "The groupID of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
# Include{resources} # Include{resources}
# Include{advanced} # Include{advanced}
+43 -47
View File
@@ -13,35 +13,31 @@ questions:
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
- variable: env - variable: env
group: App Configuration group: "App Configuration"
label: Image Environment label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: FLATNOTES_USERNAME - variable: FLATNOTES_USERNAME
label: Username label: Username
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
- variable: FLATNOTES_PASSWORD - variable: FLATNOTES_PASSWORD
label: Password label: Password
schema: schema:
type: string type: string
private: true private: true
required: true required: true
default: "" default: ""
- variable: FLATNOTES_SESSION_EXPIRY_DAYS - variable: FLATNOTES_SESSION_EXPIRY_DAYS
label: Session Expiry Days label: Session Expiry Days
schema: schema:
type: int type: int
default: 30 default: 30
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: Main Service label: Main Service
@@ -92,27 +88,27 @@ questions:
# Include{ingressList} # Include{ingressList}
# Include{securityContextRoot} # Include{securityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 1000 default: 1000
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: "The groupID of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 1000 default: 1000
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
# Include{resources} # Include{resources}
# Include{advanced} # Include{advanced}
@@ -11,40 +11,36 @@ questions:
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
- variable: env - variable: env
group: App Configuration group: "App Configuration"
label: Image Environment label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: TOKEN - variable: TOKEN
label: Token label: Token
description: Telegram Bot Token. description: Telegram Bot Token.
schema: schema:
type: string type: string
required: true required: true
private: true private: true
default: "" default: ""
- variable: CHATID - variable: CHATID
label: Chat ID label: Chat ID
description: Telegram Bot Chat ID. description: Telegram Bot Chat ID.
schema: schema:
type: string type: string
private: true private: true
required: true required: true
default: "" default: ""
- variable: DELAY - variable: DELAY
label: Delay label: Delay
description: Delay in seconds. description: Delay in seconds.
schema: schema:
type: int type: int
required: true required: true
default: 600 default: 600
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpertRoot} # Include{serviceExpertRoot}
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
@@ -64,31 +60,30 @@ questions:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{persistenceBasic}
# Include{persistenceList} # Include{persistenceList}
# Include{securityContextRoot} # Include{securityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 568 default: 568
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: "The groupID of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 568 default: 568
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
# Include{resources} # Include{resources}
# Include{advanced} # Include{advanced}
+69 -73
View File
@@ -11,60 +11,56 @@ questions:
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
- variable: env - variable: env
group: App Configuration group: "App Configuration"
label: Image Environment label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: SMTP_USER - variable: SMTP_USER
label: SMTP Username label: SMTP Username
description: Set the SMTP username description: Set the SMTP username
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
- variable: SMTP_PASS - variable: SMTP_PASS
label: SMTP Password label: SMTP Password
description: Set the SMTP password description: Set the SMTP password
schema: schema:
type: string type: string
required: true required: true
private: true private: true
default: "" default: ""
- variable: SMTP_HOST - variable: SMTP_HOST
label: SMTP Host label: SMTP Host
description: Set the SMTP host description: Set the SMTP host
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
- variable: SMTP_PORT - variable: SMTP_PORT
label: SMTP Port label: SMTP Port
description: Set the SMTP port description: Set the SMTP port
schema: schema:
type: int type: int
required: true required: true
default: 587 default: 587
- variable: SEND_ADDR - variable: SEND_ADDR
label: Sender Address label: Sender Address
description: Set the sender email description: Set the sender email
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
- variable: DISP_NAME - variable: DISP_NAME
label: Display Name label: Display Name
description: Set the display name description: Set the display name
schema: schema:
type: string type: string
required: true required: true
default: "" default: ""
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: Main Service label: Main Service
@@ -114,28 +110,28 @@ questions:
# Include{ingressAdvanced} # Include{ingressAdvanced}
# Include{ingressList} # Include{ingressList}
# Include{securityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: "The groupID of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 0 default: 0
# Include{resources} # Include{resources}
# Include{advanced} # Include{advanced}
+7 -12
View File
@@ -10,12 +10,6 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: env - variable: env
label: Image Environment label: Image Environment
schema: schema:
@@ -45,6 +39,7 @@ questions:
default: false default: false
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions} # Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
@@ -451,12 +446,12 @@ questions:
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID of the user running the application" description: "The groupID this App of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
+96 -101
View File
@@ -11,87 +11,83 @@ questions:
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
- variable: env - variable: env
group: App Configuration group: "App Configuration"
label: Image Environment label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: ScreenscraperUsername - variable: ScreenscraperUsername
label: Screenscraper Username label: Screenscraper Username
description: Username for screenscraper.fr. description: Username for screenscraper.fr.
schema: schema:
type: string type: string
default: "" default: ""
- variable: ScreenscraperPassword - variable: ScreenscraperPassword
label: Screenscraper Password label: Screenscraper Password
description: Password for screenscraper.fr. description: Password for screenscraper.fr.
schema: schema:
type: string type: string
default: "" default: ""
- variable: AutoStart - variable: AutoStart
label: Auto Start label: Auto Start
description: If checked runs script automatically on startup description: If checked runs script automatically on startup
schema: schema:
type: boolean type: boolean
default: false default: false
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: ScriptInterval - variable: ScriptInterval
label: Script Interval label: Script Interval
description: "Amount of time between each script run | #s or #m or #h or #d s = seconds, m = minutes, h = hours, d = days." description: "Amount of time between each script run | #s or #m or #h or #d s = seconds, m = minutes, h = hours, d = days."
schema: schema:
type: string type: string
default: 1h default: 1h
- variable: DeDupe - variable: DeDupe
label: DeDupe label: DeDupe
description: If checked this setting further reduces the final ROMs list per platform, by removing duplicates. description: If checked this setting further reduces the final ROMs list per platform, by removing duplicates.
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: AquireRomSets - variable: AquireRomSets
label: Aquire Rom Sets label: Aquire Rom Sets
description: Enabling this will have the script attempt to pull valid ROM sets from archive.org for processing. description: Enabling this will have the script attempt to pull valid ROM sets from archive.org for processing.
schema: schema:
type: boolean type: boolean
default: false default: false
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: ConcurrentDownloadThreads - variable: ConcurrentDownloadThreads
label: Concurrent Download Threads label: Concurrent Download Threads
description: Number of concurrent threads to increase download speeds. description: Number of concurrent threads to increase download speeds.
schema: schema:
type: int type: int
default: 5 default: 5
- variable: EnableUnsupportedPlatforms - variable: EnableUnsupportedPlatforms
label: Enable Unsupported Platforms label: Enable Unsupported Platforms
description: Enabling this will allow the script to import and scrape ROMs for platforms without RA hashes. description: Enabling this will allow the script to import and scrape ROMs for platforms without RA hashes.
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: ScrapeMetadata - variable: ScrapeMetadata
label: Scrape Metadata label: Scrape Metadata
description: Enabling this will allow the script to process the ROMs with skyscraper. description: Enabling this will allow the script to process the ROMs with skyscraper.
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: keepBackupsOfImportedRoms - variable: keepBackupsOfImportedRoms
label: keep Backups Of Imported Roms label: keep Backups Of Imported Roms
description: If unchecked this setting will only keep a single copy of each ROM, reduces the required amount of storage space. description: If unchecked this setting will only keep a single copy of each ROM, reduces the required amount of storage space.
schema: schema:
type: boolean type: boolean
default: true default: true
- variable: skyscraperLanguagePreference - variable: skyscraperLanguagePreference
label: Skyscaper Language label: Skyscaper Language
description: Set to preferred language for Metadata. description: Set to preferred language for Metadata.
schema: schema:
type: string type: string
default: en default: en
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpertRoot} # Include{serviceExpertRoot}
# Include{serviceExpert} # Include{serviceExpert}
# Include{serviceList} # Include{serviceList}
@@ -135,31 +131,30 @@ questions:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{persistenceBasic}
# Include{persistenceList} # Include{persistenceList}
# Include{securityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: runAsUser label: runAsUser
description: The UserID of the user running the application. description: The UserID of the user running the application.
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: runAsGroup label: runAsGroup
description: The groupID this App of the user running the application. description: The groupID this App of the user running the application.
schema: schema:
type: int type: int
default: 0 default: 0
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
# Include{resources} # Include{resources}
# Include{advanced} # Include{advanced}
+57 -62
View File
@@ -13,48 +13,44 @@ questions:
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
- variable: env - variable: env
group: App Configuration group: "App Configuration"
label: Image Environment label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: GOOGLE_SEARCH_KEY - variable: GOOGLE_SEARCH_KEY
label: Google Search Key label: Google Search Key
schema: schema:
type: string type: string
default: "" default: ""
required: true required: true
- variable: GOOGLE_SEARCH_CX - variable: GOOGLE_SEARCH_CX
label: Google Search CX label: Google Search CX
schema: schema:
type: string type: string
default: "" default: ""
required: true required: true
private: true private: true
- variable: THUM_KEY_ID - variable: THUM_KEY_ID
label: Thum Key ID label: Thum Key ID
schema: schema:
type: string type: string
default: "" default: ""
required: true required: true
- variable: THUM_KEY_SECRET - variable: THUM_KEY_SECRET
label: Thum Key Secret label: Thum Key Secret
schema: schema:
type: string type: string
default: "" default: ""
required: true required: true
private: true private: true
- variable: NEXT_PUBLIC_HOST - variable: NEXT_PUBLIC_HOST
label: Next Public Host label: Next Public Host
schema: schema:
type: string type: string
default: "http://localhost" default: "http://localhost"
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: Main Service label: Main Service
@@ -97,7 +93,6 @@ questions:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
# Include{persistenceBasic}
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot} # Include{ingressRoot}
- variable: main - variable: main
@@ -112,28 +107,28 @@ questions:
# Include{ingressAdvanced} # Include{ingressAdvanced}
# Include{ingressList} # Include{ingressList}
# Include{securityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: "The groupID of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
# Include{securityContextContainer} # Include{securityContextContainer}
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{securityContextPod} # Include{securityContextPod}
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
# Include{resources} # Include{resources}
# Include{advanced} # Include{advanced}