TrueChartsClone/charts/incubator/twofauth/questions.yaml

259 lines
7.9 KiB
YAML
Raw Normal View History

feat(2fauth) add 2fauth (#12669) **Description** A Web app to manage your 2FA accounts and generate their security codes. ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [X] ⚙️ 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:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 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. - [X] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [X] 🖼️ 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._ --------- Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros kois <s.kois@outlook.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-12-28 12:07:47 +00:00
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: twofauth
group: App Configuration
label: 2fauth
schema:
additional_attrs: true
type: dict
attrs:
- variable: app
label: App Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: App Name
schema:
type: string
default: "2FAuth"
- variable: session_lifetime
label: Session Lifetime
schema:
type: int
default: 120
- variable: site_owner
label: Site Owner Email
schema:
type: string
default: ""
- variable: trusted_proxies
label: Trusted Proxies
schema:
type: list
empty: false
default: []
required: true
items:
- variable: proxy
label: Proxy
schema:
type: string
required: true
default: ""
- variable: mail
label: Mail Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: driver
label: Driver
schema:
type: string
required: true
default: log
enum:
- value: log
description: Log
- value: smtp
description: SMTP
- variable: host
label: Host
schema:
type: string
default: ""
- variable: port
label: Port
schema:
type: int
default: 587
- variable: from
label: From
schema:
type: string
default: ""
- variable: user
label: User
schema:
type: string
default: ""
- variable: pass
label: Pass
schema:
type: string
private: true
default: ""
- variable: encryption
label: encryption
schema:
type: string
default: "STARTTLS"
enum:
- value: TLS
description: TLS
- value: STARTTLS
description: STARTTLS
- value: SSL
description: SSL
- variable: from_name
label: From Name
schema:
type: string
default: "2FAuth"
- variable: from_address
label: From Address
schema:
type: string
default: ""
- variable: auth
label: Auth Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: guard
label: Guard
schema:
type: string
default: "web-guard"
enum:
- value: web-guard
description: Web Guard
- value: reverse-proxy-guard
description: Reverse Proxy Guard
- variable: proxy_header_for_user
label: Proxy Header for User
schema:
type: string
default: ""
show_if: [[guard, "=", "reverse-proxy-guard"]]
- variable: proxy_header_for_email
label: Proxy Header for Email
schema:
type: string
default: ""
show_if: [[guard, "=", "reverse-proxy-guard"]]
- variable: proxy_logout_url
label: Proxy Logout Url
schema:
type: string
default: ""
show_if: [[guard, "=", "reverse-proxy-guard"]]
- variable: webauthn
label: WebAuthn Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: Name
schema:
type: string
default: 2FAuth
- variable: id
label: ID
schema:
type: string
default: ""
- variable: icon
label: Icon
schema:
type: string
default: ""
- variable: user_verified
label: User Verified
schema:
type: string
default: preferred
enum:
- value: required
description: Required
- value: preferred
description: Preferred
- value: discouraged
description: Discouraged
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 8000
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 1000
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 1000
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}