Files
truecharts/charts/stable/gitea/questions.yaml
T
6895cfde2a chore(categories): Fix typo in categories and make them singular (#13693)
**Description**
While researching how to create a chart for [graylog
open](https://graylog.org/products/source-available/), I noticed that
there was a typo in the annotation: **truecharts.org/categories**. I
fixed all instances of this typo in the repo. In addition, I addressed
all other instances of the word category and categories (case
insensitive) for all code (shell scripts), comments, markdowns, and
filenames.

**⚙️ Type of change**

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

**🧪 How Has This Been Tested?**
I have tested that the syntax is correct in the following files:
- .github/scripts/build-catalog.sh
- tools/gen-cat.sh
- tools/build-release.sh

**📃 Notes:**
n/a

**✔️ 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
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ 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`

---------

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-10-28 15:07:52 +03:00

225 lines
6.7 KiB
YAML

# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
- variable: admin
group: "App Configuration"
label: "Admin Credentials"
schema:
additional_attrs: true
type: dict
attrs:
- variable: username
label: "username"
schema:
type: string
valid_chars: '^(?!^admin$).*$'
required: true
- variable: password
label: "password"
schema:
type: string
required: true
private: true
- variable: email
label: "email"
schema:
type: string
required: true
- variable: config
group: "App Configuration"
label: "Admin Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: APP_NAME
label: "APP_NAME"
schema:
type: string
default: "Gitea"
required: true
- variable: RUN_MODE
label: "RUN_MODE"
schema:
type: string
default: "prod"
enum:
- value: "prod"
description: "Production"
- value: "dev"
description: "Development"
- value: "test"
description: "Testing"
- variable: ALLOWED_HOST_LIST
label: "ALLOWED_HOST_LIST"
schema:
type: string
default: "127.0.0.1"
required: true
- variable: nodeIP
label: Node IP
description: Used to generate configuration, when installed without ingress
schema:
type: string
required: true
$ref:
- "definitions/nodeIP"
- variable: customConfig
group: "App Configuration"
label: "Custom Configuration parameters"
schema:
type: list
default: []
items:
# Do not fix this typo, it will break
# current installations
- variable: catagoryItem
label: "Category"
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: "Config Category Name"
schema:
type: string
required: true
- variable: keys
label: "Configuration Parameters"
schema:
type: list
default: []
items:
- variable: configItem
label: "parameter"
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: "Parameter Name"
schema:
type: string
required: true
- variable: value
label: "Parameter Value"
schema:
type: string
required: true
# Include{serviceRoot}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# 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: 10037
required: true
- variable: ssh
label: "SSH Service"
description: "The SSH service"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: ssh
label: "SSH 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: 2222
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: data
label: "App data 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{ingressTLS}
# Include{ingressTraefik}
# 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: 1000
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}