From cf1b45f03ca355213f085d13f0d395f33b736120 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sat, 6 Nov 2021 16:50:55 +0100 Subject: [PATCH] add test app for new persistence GUI --- charts/incubator/testrc2/.helmignore | 24 + charts/incubator/testrc2/CHANGELOG.md | 368 +++++++++++++++ charts/incubator/testrc2/CONFIG.md | 8 + charts/incubator/testrc2/Chart.yaml | 30 ++ charts/incubator/testrc2/README.md | 37 ++ charts/incubator/testrc2/helm-values.md | 32 ++ charts/incubator/testrc2/questions.yaml | 434 ++++++++++++++++++ .../incubator/testrc2/templates/common.yaml | 1 + charts/incubator/testrc2/values.yaml | 41 ++ 9 files changed, 975 insertions(+) create mode 100644 charts/incubator/testrc2/.helmignore create mode 100644 charts/incubator/testrc2/CHANGELOG.md create mode 100644 charts/incubator/testrc2/CONFIG.md create mode 100644 charts/incubator/testrc2/Chart.yaml create mode 100644 charts/incubator/testrc2/README.md create mode 100644 charts/incubator/testrc2/helm-values.md create mode 100644 charts/incubator/testrc2/questions.yaml create mode 100644 charts/incubator/testrc2/templates/common.yaml create mode 100644 charts/incubator/testrc2/values.yaml diff --git a/charts/incubator/testrc2/.helmignore b/charts/incubator/testrc2/.helmignore new file mode 100644 index 00000000000..e559de0a012 --- /dev/null +++ b/charts/incubator/testrc2/.helmignore @@ -0,0 +1,24 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS diff --git a/charts/incubator/testrc2/CHANGELOG.md b/charts/incubator/testrc2/CHANGELOG.md new file mode 100644 index 00000000000..7ef82663601 --- /dev/null +++ b/charts/incubator/testrc2/CHANGELOG.md @@ -0,0 +1,368 @@ +# Changelog
+ + + +### [jackett-9.0.9](https://github.com/truecharts/apps/compare/jackett-9.0.8...jackett-9.0.9) (2021-11-06) + +#### Fix + +* Correct label for port setting + + + + +### [jackett-9.0.8](https://github.com/truecharts/apps/compare/jackett-9.0.7...jackett-9.0.8) (2021-11-06) + +#### Fix + +* correct typo in include +* correct duplicate variable name in questions.yaml + + + + +### [jackett-9.0.7](https://github.com/truecharts/apps/compare/jackett-9.0.6...jackett-9.0.7) (2021-11-06) + +#### Chore + +* refactor ServiceType to simplify it ([#1285](https://github.com/truecharts/apps/issues/1285)) + + + + +### [jackett-9.0.6](https://github.com/truecharts/apps/compare/jackett-9.0.5...jackett-9.0.6) (2021-11-02) + +#### Chore + +* update non-major deps helm releases ([#1267](https://github.com/truecharts/apps/issues/1267)) + + + + +### [jackett-9.0.5](https://github.com/truecharts/apps/compare/jackett-9.0.4...jackett-9.0.5) (2021-11-02) + +#### Chore + +* update non-major docker tags ([#1266](https://github.com/truecharts/apps/issues/1266)) + + + + +### [jackett-9.0.4](https://github.com/truecharts/apps/compare/jackett-9.0.3...jackett-9.0.4) (2021-11-01) + +#### Chore + +* update non-major deps helm releases ([#1264](https://github.com/truecharts/apps/issues/1264)) + + + + +### [jackett-9.0.3](https://github.com/truecharts/apps/compare/jackett-9.0.2...jackett-9.0.3) (2021-11-01) + +#### Chore + +* update non-major ([#1263](https://github.com/truecharts/apps/issues/1263)) + + + + +### [jackett-9.0.2](https://github.com/truecharts/apps/compare/jackett-9.0.1...jackett-9.0.2) (2021-10-26) + +#### Chore + +* update non-major deps helm releases ([#1245](https://github.com/truecharts/apps/issues/1245)) + + + + +### [jackett-9.0.1](https://github.com/truecharts/apps/compare/jackett-9.0.0...jackett-9.0.1) (2021-10-26) + +#### Chore + +* update helm chart common to v8.3.15 ([#1240](https://github.com/truecharts/apps/issues/1240)) +* update non-major docker tags ([#1241](https://github.com/truecharts/apps/issues/1241)) +* update non-major ([#1232](https://github.com/truecharts/apps/issues/1232)) + + + + +### [jackett-9.0.0](https://github.com/truecharts/apps/compare/jackett-8.0.23...jackett-9.0.0) (2021-10-25) + +#### Chore + +* Adapt for TrueNAS SCALE RC1 + + + + +### [jackett-8.0.23](https://github.com/truecharts/apps/compare/jackett-8.0.22...jackett-8.0.23) (2021-10-20) + +#### Chore + +* bump apps, remove duplicates and move incubator to stable for RC1 + + + + +### [jackett-8.0.20](https://github.com/truecharts/apps/compare/jackett-8.0.19...jackett-8.0.20) (2021-10-20) + +#### Chore + +* bump versions to rerelease and fix icons + + + + +### [jackett-8.0.19](https://github.com/truecharts/apps/compare/jackett-8.0.18...jackett-8.0.19) (2021-10-19) + +#### Chore + +* update helm chart common to v8.3.13 ([#1184](https://github.com/truecharts/apps/issues/1184)) +* update non-major ([#1174](https://github.com/truecharts/apps/issues/1174)) + +#### Refactor + +* Project Eclipse Part 6, move questions.yaml to root App folder ([#1182](https://github.com/truecharts/apps/issues/1182)) + + + + +### [jackett-8.0.18](https://github.com/truecharts/apps/compare/jackett-8.0.17...jackett-8.0.18) (2021-10-19) + +#### Chore + +* Project-Eclipse 5, move app-readme to automatic generation script ([#1181](https://github.com/truecharts/apps/issues/1181)) + + + + +### [jackett-8.0.17](https://github.com/truecharts/apps/compare/jackett-8.0.16...jackett-8.0.17) (2021-10-19) + +#### Change + +* Project-Eclipse 3, Automatically generate item.yaml ([#1178](https://github.com/truecharts/apps/issues/1178)) + +#### Chore + +* Project-Eclipse part 2, adapting and cleaning changelog ([#1173](https://github.com/truecharts/apps/issues/1173)) + +#### Feat + +* Project-Eclipse 4, Add App grading annotations to Chart.yaml ([#1180](https://github.com/truecharts/apps/issues/1180)) + + + + +### [jackett-8.0.16](https://github.com/truecharts/apps/compare/jackett-8.0.15...jackett-8.0.16) (2021-10-19) + +#### Fix + +* fix previous SCALE bugfix not correctly being applied + + + + +### [jackett-8.0.15](https://github.com/truecharts/apps/compare/jackett-8.0.14...jackett-8.0.15) (2021-10-19) + +#### Fix + +* Solve issues regarding ix_values.yaml not containing the image and tag definitions. ([#1176](https://github.com/truecharts/apps/issues/1176)) + + + + +### [jackett-8.0.14](https://github.com/truecharts/apps/compare/jackett-8.0.13...jackett-8.0.14) (2021-10-18) + +#### Chore + +* Add description on persistence ([#1172](https://github.com/truecharts/apps/issues/1172)) + +#### Refactor + +* Project Eclipse - part 1 - remove ix_values.yaml ([#1168](https://github.com/truecharts/apps/issues/1168)) + + + + +### [jackett-8.0.13](https://github.com/truecharts/apps/compare/jackett-8.0.12...jackett-8.0.13) (2021-10-17) + +#### Chore + +* update helm chart common to v8.3.10 ([#1160](https://github.com/truecharts/apps/issues/1160)) + +#### Fix + +* force users using correct / prefix for mounPath ([#1156](https://github.com/truecharts/apps/issues/1156)) + + + + +### [jackett-8.0.12](https://github.com/truecharts/apps/compare/jackett-8.0.11...jackett-8.0.12) (2021-10-13) + +#### Chore + +* update non-major deps helm releases ([#1133](https://github.com/truecharts/apps/issues/1133)) + + + + +### [jackett-8.0.11](https://github.com/truecharts/apps/compare/jackett-8.0.10...jackett-8.0.11) (2021-10-13) + +#### Chore + +* update non-major docker tags ([#1134](https://github.com/truecharts/apps/issues/1134)) + + + + +### [jackett-8.0.10](https://github.com/truecharts/apps/compare/jackett-8.0.9...jackett-8.0.10) (2021-10-12) + +#### Chore + +* update non-major deps helm releases ([#1126](https://github.com/truecharts/apps/issues/1126)) + + + + +### [jackett-8.0.9](https://github.com/truecharts/apps/compare/jackett-8.0.8...jackett-8.0.9) (2021-10-12) + +#### Chore + +* update non-major ([#1122](https://github.com/truecharts/apps/issues/1122)) + + + + +### [jackett-8.0.8](https://github.com/truecharts/apps/compare/jackett-8.0.7...jackett-8.0.8) (2021-10-12) + +#### Chore + +* update non-major deps helm releases ([#1123](https://github.com/truecharts/apps/issues/1123)) + + + + +### [jackett-8.0.7](https://github.com/truecharts/apps/compare/jackett-8.0.6...jackett-8.0.7) (2021-10-05) + +#### Chore + +* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099)) + + + + +### [jackett-8.0.6](https://github.com/truecharts/apps/compare/jackett-8.0.5...jackett-8.0.6) (2021-10-05) + +#### Chore + +* update non-major ([#1098](https://github.com/truecharts/apps/issues/1098)) + + + + +### [jackett-8.0.5](https://github.com/truecharts/apps/compare/jackett-8.0.4...jackett-8.0.5) (2021-09-29) + +#### Chore + +* update helm chart common to v8.0.13 ([#1060](https://github.com/truecharts/apps/issues/1060)) + + + + +### [jackett-8.0.3](https://github.com/truecharts/apps/compare/jackett-8.0.2...jackett-8.0.3) (2021-09-28) + +#### Chore + +* update container image ghcr.io/k8s-at-home/jackett to v0.18.827 ([#1052](https://github.com/truecharts/apps/issues/1052)) + + + + +### [jackett-8.0.2](https://github.com/truecharts/apps/compare/jackett-8.0.1...jackett-8.0.2) (2021-09-28) + +#### Chore + +* update non-major ([#1046](https://github.com/truecharts/apps/issues/1046)) + + + + +### [jackett-8.0.1](https://github.com/truecharts/apps/compare/jackett-8.0.0...jackett-8.0.1) (2021-09-26) + + + + +### [jackett-8.0.0](https://github.com/truecharts/apps/compare/jackett-7.0.4...jackett-8.0.0) (2021-09-26) + + + + +### [jackett-7.0.4](https://github.com/truecharts/apps/compare/jackett-7.0.3...jackett-7.0.4) (2021-09-21) + +#### Chore + +* update non-major deps helm releases ([#1014](https://github.com/truecharts/apps/issues/1014)) + + + + +### [jackett-7.0.3](https://github.com/truecharts/apps/compare/jackett-7.0.2...jackett-7.0.3) (2021-09-21) + +#### Chore + +* update non-major ([#1013](https://github.com/truecharts/apps/issues/1013)) + + + + +### [jackett-7.0.2](https://github.com/truecharts/apps/compare/jackett-7.0.1...jackett-7.0.2) (2021-09-14) + +#### Chore + +* update non-major ([#987](https://github.com/truecharts/apps/issues/987)) + + + + +### [jackett-7.0.1](https://github.com/truecharts/apps/compare/jackett-6.11.21...jackett-7.0.1) (2021-09-13) + +#### Chore + +* update non-major + +#### Feat + +* add new GUI and VPN support to all Apps ([#977](https://github.com/truecharts/apps/issues/977)) +* Add VPN addon and move some config to includes ([#973](https://github.com/truecharts/apps/issues/973)) + + + + +### [jackett-6.11.21](https://github.com/truecharts/apps/compare/jackett-6.11.20...jackett-6.11.21) (2021-09-12) + + + + +### [jackett-6.11.20](https://github.com/truecharts/apps/compare/jackett-6.11.19...jackett-6.11.20) (2021-09-12) + +#### Chore + +* update non-major ([#962](https://github.com/truecharts/apps/issues/962)) + +#### Feat + +* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963)) +* Add regex validation to resources CPU and RAM for all apps ([#935](https://github.com/truecharts/apps/issues/935)) +* Pre-commit and tag-appversion syncing ([#926](https://github.com/truecharts/apps/issues/926)) + +#### Fix + +* make sure podSecurityContext is included in both SCALE and Helm installs ([#956](https://github.com/truecharts/apps/issues/956)) +* move runAsNonRoot to container securityContext to allow root sidecarts ([#954](https://github.com/truecharts/apps/issues/954)) + + +## [jackett-6.11.19](https://github.com/truecharts/apps/compare/jackett-6.11.18...jackett-6.11.19) (2021-09-08) + +### Fix + +* repair Hyperion and some misplaced GUI elements ([#922](https://github.com/truecharts/apps/issues/922)) diff --git a/charts/incubator/testrc2/CONFIG.md b/charts/incubator/testrc2/CONFIG.md new file mode 100644 index 00000000000..fc9b2fa2d5f --- /dev/null +++ b/charts/incubator/testrc2/CONFIG.md @@ -0,0 +1,8 @@ +# Configuration Options + +##### Connecting to other apps +If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide: +https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/ + +##### Available config options +In the future this page is going to contain an automated list of options available in the installation/edit UI. diff --git a/charts/incubator/testrc2/Chart.yaml b/charts/incubator/testrc2/Chart.yaml new file mode 100644 index 00000000000..5362751b247 --- /dev/null +++ b/charts/incubator/testrc2/Chart.yaml @@ -0,0 +1,30 @@ +apiVersion: v2 +appVersion: "0.19.124" +dependencies: +- name: common + repository: https://truecharts.org + version: 8.5.0 +deprecated: false +description: API Support for your favorite torrent trackers. +home: https://github.com/truecharts/apps/tree/master/charts/stable/jackett +icon: https://truecharts.org/_static/img/jackett-icon.png +keywords: +- jackett +- torrent +- usenet +kubeVersion: '>=1.16.0-0' +maintainers: +- email: info@truecharts.org + name: TrueCharts + url: truecharts.org +name: testrc2 +sources: +- https://github.com/Jackett/Jackett +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - media + - test + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/testrc2/README.md b/charts/incubator/testrc2/README.md new file mode 100644 index 00000000000..f1fed98b824 --- /dev/null +++ b/charts/incubator/testrc2/README.md @@ -0,0 +1,37 @@ +# Introduction + +API Support for your favorite torrent trackers. + +TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation. +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)** + +## Source Code + +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +## Dependencies + +| Repository | Name | Version | +|------------|------|---------| +| https://truecharts.org | common | 8.4.0 | + +## Installing the Chart + +To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/). + +## Uninstalling the Chart + +To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/). + +## Support + +- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first. +- See the [Wiki](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) +--- +All Rights Reserved - The TrueCharts Project diff --git a/charts/incubator/testrc2/helm-values.md b/charts/incubator/testrc2/helm-values.md new file mode 100644 index 00000000000..52ab33c1a6b --- /dev/null +++ b/charts/incubator/testrc2/helm-values.md @@ -0,0 +1,32 @@ +# Default Helm-Values + +TrueCharts is primarily build to supply TrueNAS SCALE Apps. +However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file. + +Most of our Apps also consume our "common" Helm Chart. +If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart. +You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document. + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| env | object | `{}` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"ghcr.io/k8s-at-home/jackett"` | | +| image.tag | string | `"v0.19.124@sha256:4f970ed19a55008ce6e07afdc6616bc43f5ab8016ffcd3a370f8651d2808dc55"` | | +| persistence.config.accessMode | string | `"ReadWriteOnce"` | | +| persistence.config.enabled | bool | `true` | | +| persistence.config.mountPath | string | `"/config"` | | +| persistence.config.size | string | `"100Gi"` | | +| persistence.config.type | string | `"pvc"` | | +| probes.liveness.path | string | `"/UI/Login"` | | +| probes.readiness.path | string | `"/UI/Login"` | | +| probes.startup.path | string | `"/UI/Login"` | | +| securityContext.readOnlyRootFilesystem | bool | `false` | | +| service.main.enabled | bool | `true` | | +| service.main.ports.main.port | int | `9117` | | +| service.main.ports.main.targetPort | int | `9117` | | +| service.main.protocol | string | `"HTTP"` | | + +All Rights Reserved - The TrueCharts Project diff --git a/charts/incubator/testrc2/questions.yaml b/charts/incubator/testrc2/questions.yaml new file mode 100644 index 00000000000..18f52b86799 --- /dev/null +++ b/charts/incubator/testrc2/questions.yaml @@ -0,0 +1,434 @@ +# Include{groups} +portals: + web_portal: + protocols: + - "$kubernetes-resource_configmap_portal_protocol" + host: + - "$kubernetes-resource_configmap_portal_host" + ports: + - "$kubernetes-resource_configmap_portal_port" +questions: + - variable: portal + group: "Container Image" + label: "Configure Portal Button" + schema: + type: dict + hidden: true + attrs: + - variable: enabled + label: "Enable" + description: "enable the portal button" + schema: + hidden: true + editable: false + type: boolean + default: true +# Include{global} + + - variable: controller + group: "Controller" + label: "" + schema: + type: dict + attrs: + - variable: advanced + label: "Show Advanced Controller Settings" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: type + description: "Please specify type of workload to deploy" + label: "(Advanced) Controller Type" + schema: + type: string + default: "deployment" + required: true + enum: + - value: "deployment" + description: "Deployment" + - value: "statefulset" + description: "Statefulset" + - value: "daemonset" + description: "Daemonset" + - variable: replicas + description: "Number of desired pod replicas" + label: "Desired Replicas" + schema: + type: int + default: 1 + required: true + - variable: strategy + description: "Please specify type of workload to deploy" + label: "(Advanced) Update Strategy" + schema: + type: string + default: "Recreate" + required: true + enum: + - value: "Recreate" + description: "Recreate: Kill existing pods before creating new ones" + - value: "RollingUpdate" + description: "RollingUpdate: Create new pods and then kill old ones" + - value: "OnDelete" + description: "(Legacy) OnDelete: ignore .spec.template changes" +# Include{controllerExpert} + + - variable: env + group: "Container Configuration" + label: "Image Environment" + schema: + type: dict + attrs: +# Include{fixedEnv} + +# Include{containerConfig} + + - variable: service + group: "Networking and Services" + label: "Configure Service(s)" + schema: + type: dict + attrs: + - variable: main + label: "Main Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + type: dict + attrs: +# Include{serviceSelector} + - variable: main + label: "Main Service Port Configuration" + schema: + type: dict + attrs: + - variable: advanced + label: "Show Advanced settings" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + - variable: protocol + label: "Port Type" + schema: + type: string + default: "HTTP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer" + schema: + type: int + min: 9000 + max: 65535 + - variable: targetPort + label: "Target Port" + description: "The internal(!) port on the container the Application runs on" + schema: + type: int + default: 9117 + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 9117 + required: true + + - variable: serviceexpert + group: "Networking and Services" + label: "Show Expert Config" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostNetwork + group: "Networking and Services" + label: "Host-Networking (Complicated)" + schema: + type: boolean + default: false + +# Include{serviceExpert} + +# Include{serviceList} + + - variable: persistence + label: "Integrated Persistent Storage" + description: "Integrated Persistent Storage" + group: "Storage and Persistence" + schema: + type: dict + attrs: + - variable: config + label: "App Config Storage" + description: "Stores the Application Configuration." + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the storage" + schema: + type: boolean + default: true + - variable: type + label: "(Advanced) Type of Storage" + description: "Sets the persistence type" + schema: + type: string + default: "pvc" + enum: + - value: "pvc" + description: "pvc" + - value: "emptyDir" + description: "emptyDir" + - value: "hostPath" + description: "hostPath" + - variable: storageClass + label: "(Advanced) storageClass" + description: " Warning: Anything other than SCALE-ZFS will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "SCALE-ZFS" + - variable: labelsList + label: "Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: "Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: setPermissions + label: "Automatic Permissions" + description: "Automatically set permissions on install" + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: true + - variable: readOnly + label: "readOnly" + schema: + type: boolean + default: false + - variable: hostPath + label: "hostPath" + description: "Path inside the container the storage is mounted" + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: hostPathType + label: "hostPath Type" + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "DirectoryOrCreate" + description: "DirectoryOrCreate" + - value: "Directory" + description: "Directory" + - value: "FileOrCreate" + description: "FileOrCreate" + - value: "File" + description: "File" + - value: "Socket" + description: "Socket" + - value: "CharDevice" + description: "CharDevice" + - value: "BlockDevice" + description: "BlockDevice" + - variable: mountPath + label: "mountPath" + description: "Path inside the container the storage is mounted" + schema: + type: string + default: "/config" + hidden: true + valid_chars: '^\/([a-zA-Z0-9._-]+\/?)+$' + - variable: medium + label: "EmptyDir Medium" + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "Memory" + description: "Memory" + - variable: accessMode + label: "Access Mode (Advanced)" + description: "Allow or disallow multiple PVC's writhing to the same PV" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "ReadWriteOnce" + enum: + - value: "ReadWriteOnce" + description: "ReadWriteOnce" + - value: "ReadOnlyMany" + description: "ReadOnlyMany" + - value: "ReadWriteMany" + description: "ReadWriteMany" + - variable: size + label: "Size quotum of storage" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "100Gi" +# Include{persistenceList} + + - variable: ingress + label: "" + group: "Ingress" + schema: + type: dict + attrs: + - variable: main + label: "Main Ingress" + schema: + type: dict + attrs: +# Include{ingressDefault} + +# Include{ingressTLS} + +# Include{ingressTraefik} + +# Include{ingressExpert} + +# Include{ingressList} + + - variable: advancedSecurity + label: "Show Advanced Security Settings" + group: "Security and Permissions" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: securityContext + label: "Security Context" + schema: + type: dict + attrs: + - variable: privileged + label: "Privileged mode" + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: "ReadOnly Root Filesystem" + schema: + type: boolean + default: false + - variable: allowPrivilegeEscalation + label: "Allow Privilege Escalation" + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: "runAsNonRoot" + schema: + type: boolean + default: true + + - variable: podSecurityContext + group: "Security and Permissions" + label: "Pod Security Context" + schema: + type: dict + attrs: + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 568 + - variable: runAsGroup + label: "runAsGroup" + description: The groupID this App of the user running the application" + schema: + type: int + default: 568 + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 + - variable: supplementalGroups + label: "supplemental Groups" + schema: + type: list + default: [] + items: + - variable: supplementalGroupsEntry + label: "supplemental Group" + schema: + type: int + - variable: fsGroupChangePolicy + label: "When should we take ownership?" + schema: + type: string + default: "OnRootMismatch" + enum: + - value: "OnRootMismatch" + description: "OnRootMismatch" + - value: "Always" + description: "Always" + +# Include{resources} + +# Include{advanced} + +# Include{addons} diff --git a/charts/incubator/testrc2/templates/common.yaml b/charts/incubator/testrc2/templates/common.yaml new file mode 100644 index 00000000000..a6613c2ce21 --- /dev/null +++ b/charts/incubator/testrc2/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/incubator/testrc2/values.yaml b/charts/incubator/testrc2/values.yaml new file mode 100644 index 00000000000..39476bc054f --- /dev/null +++ b/charts/incubator/testrc2/values.yaml @@ -0,0 +1,41 @@ +# Default values for Jackett. + +image: + repository: ghcr.io/k8s-at-home/jackett + pullPolicy: IfNotPresent + tag: v0.19.124@sha256:4f970ed19a55008ce6e07afdc6616bc43f5ab8016ffcd3a370f8651d2808dc55 + +securityContext: + readOnlyRootFilesystem: false + +service: + main: + enabled: true + protocol: "HTTP" + ports: + main: + targetPort: 9117 + port: 9117 + +probes: + liveness: + path: "/UI/Login" + + readiness: + path: "/UI/Login" + + startup: + path: "/UI/Login" + +env: {} + # TZ: UTC + # PUID: 1001 + + +persistence: + config: + enabled: true + mountPath: "/config" + type: pvc + accessMode: ReadWriteOnce + size: "100Gi"