diff --git a/charts/incubator/rtorrent-rutorrent/.helmignore b/charts/incubator/rtorrent-rutorrent/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/.helmignore @@ -0,0 +1,30 @@ +# 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 +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/rtorrent-rutorrent/CHANGELOG.md b/charts/incubator/rtorrent-rutorrent/CHANGELOG.md new file mode 100644 index 00000000000..40fb183efc7 --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/rtorrent-rutorrent/Chart.yaml b/charts/incubator/rtorrent-rutorrent/Chart.yaml new file mode 100644 index 00000000000..e3fe290f60c --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +appVersion: "latest" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 14.0.1 +deprecated: false +description: rTorrent and ruTorrent chart. +home: https://truecharts.org/charts/incubator/rtorrent-rutorrent +icon: https://truecharts.org/img/hotlink-ok/chart-icons/rtorrent-rutorrent.png +keywords: + - rutorrent + - torrent + - cross-seed +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: rtorrent-rutorrent +sources: + - https://truecharts.org/charts/incubator/rtorrent-rutorrent + - https://github.com/crazy-max/docker-rtorrent-rutorrent +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - torrent + truecharts.org/SCALE-support: "true" diff --git a/charts/incubator/rtorrent-rutorrent/LICENSE b/charts/incubator/rtorrent-rutorrent/LICENSE new file mode 100644 index 00000000000..8f8b2ef3f56 --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/LICENSE @@ -0,0 +1 @@ +{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"rootfs","path":"rootfs","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"Dockerfile","path":"Dockerfile","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"docker-bake.hcl","path":"docker-bake.hcl","contentType":"file"}],"totalCount":11}},"fileTreeProcessingTime":3.453458,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":110322125,"defaultBranch":"master","name":"docker-rtorrent-rutorrent","ownerLogin":"crazy-max","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-11-11T05:56:45.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1951866?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1691880630.0","canEdit":false,"refType":"branch","currentOid":"1398e24d58f7c1c6928a2e2e2ecea1c3778f9a35"},"path":"LICENSE","currentUser":null,"blob":{"rawLines":["MIT License","","Copyright (c) 2018-2023 CrazyMax","","Permission is hereby granted, free of charge, to any person obtaining a copy","of this software and associated documentation files (the \"Software\"), to deal","in the Software without restriction, including without limitation the rights","to use, copy, modify, merge, publish, distribute, sublicense, and/or sell","copies of the Software, and to permit persons to whom the Software is","furnished to do so, subject to the following conditions:","","The above copyright notice and this permission notice shall be included in all","copies or substantial portions of the Software.","","THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR","IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,","FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE","AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER","LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,","OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE","SOFTWARE."],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/crazy-max/docker-rtorrent-rutorrent/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/crazy-max/docker-rtorrent-rutorrent/security/dependabot","repoSecurityAndAnalysisPath":"/crazy-max/docker-rtorrent-rutorrent/settings/security_analysis","repoOwnerIsOrg":false,"currentUserCanAdminRepo":false},"displayName":"LICENSE","displayUrl":"https://github.com/crazy-max/docker-rtorrent-rutorrent/blob/master/LICENSE?raw=true","headerInfo":{"blobSize":"1.04 KB","deleteInfo":{"deleteTooltip":"You must be signed in to make or propose changes"},"editInfo":{"editTooltip":"You must be signed in to make or propose changes"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"51b9b71","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fcrazy-max%2Fdocker-rtorrent-rutorrent%2Fblob%2Fmaster%2FLICENSE","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"21","truncatedSloc":"17"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Text","languageID":372,"large":false,"loggedIn":false,"newDiscussionPath":"/crazy-max/docker-rtorrent-rutorrent/discussions/new","newIssuePath":"/crazy-max/docker-rtorrent-rutorrent/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/crazy-max/docker-rtorrent-rutorrent/blob/master/LICENSE","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/crazy-max/docker-rtorrent-rutorrent/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"tabSize":2,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":"/crazy-max/.github/blob/1a64ea6d01db9a48aa61954cb20e265782c167d9/.github/FUNDING.yml","repoOwner":"crazy-max","repoName":"docker-rtorrent-rutorrent","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":true,"symbols":[]}},"copilotInfo":null,"csrf_tokens":{"/crazy-max/docker-rtorrent-rutorrent/branches":{"post":"WRlmTLrzgnlMzNNb4PH6uOPAQ3oLoM7ibNWzONIoZeDMO2-WOgEUSmhmpfV09e9EEGFSc9I6udhpcQFbq_3mcA"},"/repos/preferences":{"post":"XK-yAx8Yqpdd-w3_SMgcxZu7el_3-79jhbi49aeW-PBy-_SOk_7QZjeSUaetth6NbbAzb211-kAhu6qmy4wo7A"}}},"title":"docker-rtorrent-rutorrent/LICENSE at master ยท crazy-max/docker-rtorrent-rutorrent"} \ No newline at end of file diff --git a/charts/incubator/rtorrent-rutorrent/README.md b/charts/incubator/rtorrent-rutorrent/README.md new file mode 100644 index 00000000000..de0f79cbecc --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/rtorrent-rutorrent/icon.png b/charts/incubator/rtorrent-rutorrent/icon.png new file mode 100644 index 00000000000..67e24582b63 Binary files /dev/null and b/charts/incubator/rtorrent-rutorrent/icon.png differ diff --git a/charts/incubator/rtorrent-rutorrent/questions.yaml b/charts/incubator/rtorrent-rutorrent/questions.yaml new file mode 100644 index 00000000000..a798bff625e --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/questions.yaml @@ -0,0 +1,126 @@ +# 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{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: 8080 + required: true +# Include{serviceSelectorExtras} + - variable: rtorrent + label: "Rtorrent" + description: "This port exposes the connectivity port to stay connectable to the torrent sites and links to the rtorrent port" + schema: + additional_attrs: true + type: int + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + type: int + default: 33942 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: downloads + label: "App Downloads Storage" + description: "Stores the Application Downloads." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: passwd + label: "App Passwd Storage" + description: "Stores the Application Passwd." + 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: 0 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 0 +# Include{securityContextContainer} +# 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} + diff --git a/charts/incubator/rtorrent-rutorrent/templates/NOTES.txt b/charts/incubator/rtorrent-rutorrent/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/rtorrent-rutorrent/templates/common.yaml b/charts/incubator/rtorrent-rutorrent/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/rtorrent-rutorrent/values.yaml b/charts/incubator/rtorrent-rutorrent/values.yaml new file mode 100644 index 00000000000..06c2504fc2e --- /dev/null +++ b/charts/incubator/rtorrent-rutorrent/values.yaml @@ -0,0 +1,82 @@ +image: + repository: tccr.io/truecharts/rutorrent-crazymax + pullPolicy: IfNotPresent + tag: vlatest@sha256:352d49bfd4857dd52f50397563ce86464051861870217bec2e02bd328f80f038 + +securityContext: + container: + PUID: 33 + runAsNonRoot: false + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + protocol: http + port: 8080 + rtorrent: + enabled: true + ports: + rtorrent: + enabled: true + protocol: tcp + port: 33942 + xmlrpc: + enabled: true + ports: + xmlrpc: + enabled: true + protocol: http + port: 8000 + dht: + enabled: true + ports: + dht: + enabled: true + protocol: udp + port: 6881 + webdav: + enabled: true + ports: + webdav: + enabled: true + protocol: http + port: 9000 + rtinc: + enabled: true + ports: + rtinc: + enabled: true + port: 50000 + +workload: + main: + podSpec: + containers: + main: + env: + RUTORRENT_PORT: "{{ .Values.service.main.ports.main.port }}" + PORT_RTORRENT: "{{ .Values.service.rtorrent.ports.rtorrent.port }}" + RT_DHT_PORT: "{{ .Values.service.dht.ports.dht.port }}" + XMLRPC_PORT: "{{ .Values.service.xmlrpc.ports.xmlrpc.port }}" + WEBDAV_PORT: "{{ .Values.service.webdav.ports.webdav.port }}" + RT_INC_PORT: "{{ .Values.service.rtinc.ports.rtinc.port }}" + +persistence: + data: + enabled: true + mountPath: "/data" + downloads: + enabled: true + mountPath: "/downloads" + passwd: + enabled: true + mountPath: "/passwd" + +portal: + open: + enabled: true +