TrueChartsClone/charts/dev/privatebin/questions.yaml

390 lines
16 KiB
YAML
Raw Normal View History

# Include{groups}
portals:
open:
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: privatebin
group: "App Configuration"
label: "PrivateBin Custom Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: "name"
description: "Set a project name to be displayed on the website"
schema:
type: string
default: ""
- variable: basepath
label: "basepath"
description: "The full URL, with the domain name and directories that point to the PrivateBin files. This URL is essential to allow Opengraph images to be displayed on social networks."
schema:
type: string
default: ""
- variable: discussion
label: "discussion"
description: "Enable or disable the discussion feature"
schema:
type: boolean
default: true
- variable: opendiscussion
label: "opendiscussion"
description: "Preselect the discussion feature"
schema:
type: boolean
default: false
- variable: password
label: "password"
description: "Enable or disable the password feature"
schema:
type: boolean
default: true
- variable: fileupload
label: "fileupload"
description: "Enable or disable the file upload feature"
schema:
type: boolean
default: false
- variable: burnafterreadingselected
label: "burnafterreadingselected"
description: "Preselect the burn-after-reading feature"
schema:
type: boolean
default: false
- variable: defaultformatter
label: "defaultformatter"
description: "Which display mode to preselect by default"
schema:
type: string
default: "plaintext"
required: true
enum:
- value: "plaintext"
description: "Plain Text"
- value: "syntaxhighlighting"
description: "Source Code"
- value: "markdown"
description: "Markdown"
- variable: syntaxhighlightingtheme
label: "syntaxhighlightingtheme"
description: "Set a syntax highlighting theme"
schema:
type: string
default: ""
enum:
- value: ""
description: "PrivateBin Default"
- value: "desert"
description: "Desert"
- value: "doxy"
description: "Doxy"
- value: "prettify"
description: "Default"
- value: "sons-of-obsidian"
description: "Sons-Of-Obsidian"
- value: "sunburst"
description: "Sunburst"
- variable: sizelimit
label: "sizelimit"
description: "Size limit per paste or comment in bytes"
schema:
type: int
default: 10485760
required: true
- variable: template
label: "template"
description: "Template to use"
schema:
type: string
default: "bootstrap"
required: true
enum:
- value: "bootstrap"
description: "bootstrap"
- value: "bootstrap-page"
description: "bootstrap-page"
- value: "bootstrap-dark"
description: "bootstrap-dark"
- value: "bootstrap-dark-page"
description: "bootstrap-dark-page"
- value: "bootstrap-compact"
description: "bootstrap-compact"
- value: "bootstrap-compact-page"
description: "bootstrap-compact-page"
- value: "page"
description: "page"
- variable: info
label: "info"
description: "Info text to display. Use single, instead of double quotes for HTML attributes."
schema:
type: string
default: ""
- variable: notice
label: "notice"
description: "Notice to display"
schema:
type: string
default: ""
- variable: languageselection
label: "languageselection"
description: "By default PrivateBin will guess the visitors language based on the browsers settings. Optionally you can enable the language selection menu, which uses a session cookie to store the choice until the browser is closed."
schema:
type: boolean
default: false
- variable: languagedefault
label: "languagedefault"
description: "Set the language your installs defaults to, defaults to English. If this is set and language selection is disabled, this will be the only language."
schema:
type: string
default: ""
- variable: urlshortener
label: "urlshortener"
description: "URL shortener address to offer after a new paste is created. It is suggested to only use this with self-hosted shorteners as this will leak the pastes encryption key."
schema:
type: string
default: ""
- variable: qrcode
label: "qrcode"
description: "Let users create a QR code for sharing the paste URL with one click. It works both when a new paste is created and when you view a paste."
schema:
type: string
default: ""
enum:
- value: ""
description: "PrivateBin Default"
- value: "true"
description: "true"
- value: "false"
description: "false"
- variable: icon
label: "icon"
description: "IP based icons are a weak mechanism to detect if a comment was from. a different user when the same username was used in a comment. It might be used to get the IP of a non anonymous comment poster if the server salt is leaked and a SHA256 HMAC rainbow table is generated for all (relevant) IPs."
schema:
type: string
default: ""
enum:
- value: ""
description: "PrivateBin Default"
- value: "none"
description: "none"
- value: "vizhash"
description: "vizhash"
- value: "identicon"
description: "identicon"
- variable: cspheader
label: "cspheader"
description: "Content Security Policy headers allow a website to restrict what sources are allowed to be accessed in its context. You need to change this if you added custom scripts from third-party domains to your templates, e.g. tracking scripts or run your site behind certain DDoS-protection services. Check the documentation at https://content-security-policy.com/"
schema:
type: string
default: ""
- variable: zerobincompatibility
label: "zerobincompatibility"
description: "Stay compatible with PrivateBin Alpha 0.19, less secure. f enabled will use base64.js version 1.7 instead of 2.1.9 and sha1 instead of sha256 in HMAC for the deletion token."
schema:
type: string
default: ""
enum:
- value: ""
description: "PrivateBin Default"
- value: "true"
description: "true"
- value: "false"
description: "false"
- variable: httpwarning
label: "httpwarning"
description: "Enable or disable the warning message when the site is served over an insecure connection (insecure HTTP instead of HTTPS). Secure transport methods like Tor and I2P domains are automatically whitelisted. It is **strongly discouraged** to disable this."
schema:
type: string
default: ""
enum:
- value: ""
description: "PrivateBin Default"
- value: "true"
description: "true"
- value: "false"
description: "false"
- variable: compression
label: "compression"
description: "Pick compression algorithm or disable it. Only applies to pastes/comments created after changing the setting."
schema:
type: string
default: ""
enum:
- value: ""
description: "PrivateBin Default"
- value: "none"
description: "none"
- value: "zlib"
description: "zlib"
- variable: expire
label: "Expire Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: default
label: "default"
description: "Expire value that is selected per default"
schema:
type: string
default: "1week"
required: true
enum:
- value: "5min"
description: "5min"
- value: "10min"
description: "10min"
- value: "1hour"
description: "1hour"
- value: "1day"
description: "1day"
- value: "1week"
description: "1week"
- value: "1month"
description: "1month"
- value: "1year"
description: "1year"
- value: "never"
description: "never"
- variable: traffic
label: "Traffic Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: limit
label: "limit"
description: "Time limit between calls from the same IP address in seconds"
schema:
type: int
default: 10
required: true
- variable: exempted
label: "exempted"
description: "Set IPs addresses (v4 or v6) or subnets (CIDR) which are exempted from the rate-limit. Invalid IPs will be ignored. If multiple values are to be exempted, the list needs to be comma separated. Leave unset to disable exemptions."
schema:
type: string
default: ""
- variable: creators
label: "creators"
description: "If you want only some source IP addresses (v4 or v6) or subnets (CIDR) to be allowed to create pastes, set these here. Invalid IPs will be ignored. If multiple values are to be exempted, the list needs to be comma separated. Leave unset to allow anyone to create pastes."
schema:
type: string
default: ""
- variable: header
label: "header"
description: "If your website runs behind a reverse proxy or load balancer, set the HTTP header containing the visitors IP address, i.e. X_FORWARDED_FOR"
schema:
type: string
default: ""
- variable: purge
label: "Purge Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: limit
label: "limit"
description: "Minimum time limit between two purgings of expired pastes, it is only triggered when pastes are created"
schema:
type: int
default: 300
required: true
- variable: batchsize
label: "batchsize"
description: "Maximum amount of expired pastes to delete in one purge. Set this to 0 to disable purging. Set it higher, if you are running a large site."
schema:
type: int
default: 10
required: true
# Include{containerConfig}
fix(incubator): ensure all questions.yaml can be rendered (#15612) **Description** This ensures all incubator questions.yaml can be rendered, it does not mean they work, but at least all questions.yaml files should be new-common compatible, even if the charts still run old-common and/or not run at all. **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 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?** <!-- 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._ --------- Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-12-02 20:12:17 +00:00
# Include{podOptions}
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
# 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: 10248
required: true
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
feat: hide advanced ingress options behind checbox (#9203) **Description** The `ingressclassname` `entrypoint` and `tls` sections should only be used in very specific usecases. IngressClass: Only when having multiple ingress providers Entrypoint: only when having multiple traefik entrypoints tls: only when not using the clusterissuer setting on ingresslevel or using scale certs which are deprecated. fixes: #9142 **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [x] ⚠️ 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?** <!-- 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._
2023-05-28 10:32:51 +00:00
# Include{ingressAdvanced}
# Include{ingressList}
2023-03-01 08:30:36 +00:00
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
2023-03-01 08:30:36 +00:00
type: int
default: 65534
fix(incubator): ensure all questions.yaml can be rendered (#15612) **Description** This ensures all incubator questions.yaml can be rendered, it does not mean they work, but at least all questions.yaml files should be new-common compatible, even if the charts still run old-common and/or not run at all. **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 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?** <!-- 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._ --------- Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-12-02 20:12:17 +00:00
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 82
2023-03-01 08:30:36 +00:00
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
fix(incubator): ensure all questions.yaml can be rendered (#15612) **Description** This ensures all incubator questions.yaml can be rendered, it does not mean they work, but at least all questions.yaml files should be new-common compatible, even if the charts still run old-common and/or not run at all. **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 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?** <!-- 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._ --------- Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-12-02 20:12:17 +00:00
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 82
2023-03-01 08:30:36 +00:00
# Include{resources}
# Include{postgresql}
# Include{advanced}
# Include{addons}
# Include{codeserver}
2023-03-01 08:30:36 +00:00
# Include{netshoot}
# Include{vpn}
# Include{documentation}