diff --git a/charts/incubator/doplarr/Chart.yaml b/charts/incubator/doplarr/Chart.yaml new file mode 100644 index 00000000000..8052d96174c --- /dev/null +++ b/charts/incubator/doplarr/Chart.yaml @@ -0,0 +1,25 @@ +apiVersion: v2 +appVersion: "10.6.2" +dependencies: +- name: common + repository: https://truecharts.org + version: 9.1.6 +description: An *arr Request Bot for Discord +home: https://github.com/truecharts/apps/tree/master/charts/stable/doplarr +icon: https://truecharts.org/_static/img/appicons/doplarr.png +keywords: +- doplarr +kubeVersion: '>=1.16.0-0' +maintainers: +- email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: doplarr +sources: +- https://github.com/kiranshila/Doplarr +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - media + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/doplarr/questions.yaml b/charts/incubator/doplarr/questions.yaml new file mode 100644 index 00000000000..2d65b6fc4bb --- /dev/null +++ b/charts/incubator/doplarr/questions.yaml @@ -0,0 +1,283 @@ +# Include{groups} +portals: {} +questions: +# Include{global} + - variable: controller + group: "Controller" + label: "" + schema: + additional_attrs: true + 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: "RollingUpdate" + 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: secret + group: "Container Configuration" + label: "Image Secrets" + schema: + additional_attrs: true + type: dict + attrs: + - variable: OVERSEERR__API + label: "OVERSEERR__API" + schema: + type: string + private: true + default: "" + - variable: OVERSEERR__DEFAULT_ID + label: "OVERSEERR__DEFAULT_ID" + description: "The Overseerr user id to use by default if there is no associated discord account for the requester" + schema: + type: string + private: true + default: "" + - variable: SONARR__API + label: "SONARR__API" + schema: + type: string + private: true + default: "" + - variable: RADARR__API + label: "RADARR__API " + schema: + type: string + private: true + default: "" + - variable: DISCORD__TOKEN + label: "DISCORD__TOKEN " + schema: + type: string + private: true + default: "" + - variable: DISCORD__ROLE_ID + label: "DISCORD__ROLE_ID" + description: "The discord role id for users of the bot (omitting this lets everyone on the server use the bot)" + schema: + type: string + private: true + default: "" + + - variable: env + group: "Container Configuration" + label: "Image Environment" + schema: + additional_attrs: true + type: dict + attrs: + - variable: OVERSEERR__URL + label: "OVERSEERR__URL" + schema: + type: string + default: "" + - variable: SONARR__URL + label: "SONARR__URL" + schema: + type: string + default: "" + - variable: SONARR__QUALITY_PROFILE + label: "SONARR__QUALITY_PROFILE" + description: "The name of the quality profile to use by default for Sonarr" + schema: + type: string + default: "" + - variable: SONARR__LANGUAGE_PROFILE + label: "SONARR__LANGUAGE_PROFILE" + description: "The name of the language profile to use by default for Sonarr" + schema: + type: string + default: "" + - variable: RADARR__URL + label: "RADARR__URL" + schema: + type: string + default: "" + - variable: RADARR__QUALITY_PROFILE + label: "RADARR__QUALITY_PROFILE" + description: "The name of the quality profile to use by default for Radarr" + schema: + type: string + default: "" + - variable: DISCORD__MAX_RESULTS + label: "DISCORD__MAX_RESULTS" + description: "Sets the maximum size of the search results selection" + schema: + type: int + default: 25 + - variable: DISCORD__REQUESTED_MSG_STYLE + label: "DISCORD__REQUESTED_MSG_STYLE" + description: "Sets the style of the request alert message." + schema: + type: string + default: ":plain" + enum: + - value: ":plain" + description: ":plain" + - value: ":embed" + description: ":embed" + - value: ":none" + description: ":none" + - variable: PARTIAL_SEASONS + label: "PARTIAL_SEASONS" + description: "Sets whether users can request partial seasons." + schema: + type: boolean + default: true + - variable: LOG_LEVEL + label: "LOG_LEVEL" + description: "The log level for the logging backend. This can be changed for debugging purposes." + schema: + type: string + default: ":info" + enum: + - value: ":trace" + description: ":trace" + - value: ":debug" + description: ":debug" + - value: ":info" + description: ":info" + - value: ":warn" + description: ":warn" + - value: ":error" + description: ":error" + - value: ":fatal" + description: ":fatal" + - value: ":repor" + description: ":repor" + +# Include{containerConfig} + + - 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} + + +# Include{persistenceList} + +# Include{ingressList} + +# Include{security} + + - 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: + additional_attrs: true + type: dict + attrs: + - variable: privileged + label: "Privileged mode" + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: "ReadOnly Root Filesystem" + schema: + type: boolean + default: true + - variable: allowPrivilegeEscalation + label: "Allow Privilege Escalation" + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: "runAsNonRoot" + schema: + type: boolean + default: true +# Include{securityContextAdvanced} + + - variable: podSecurityContext + group: "Security and Permissions" + label: "Pod Security Context" + schema: + additional_attrs: true + 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 +# Include{podSecurityContextAdvanced} + +# Include{resources} + +# Include{advanced} + +# Include{addons} diff --git a/charts/incubator/doplarr/templates/common.yaml b/charts/incubator/doplarr/templates/common.yaml new file mode 100644 index 00000000000..a6613c2ce21 --- /dev/null +++ b/charts/incubator/doplarr/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/incubator/doplarr/values.yaml b/charts/incubator/doplarr/values.yaml new file mode 100644 index 00000000000..dc3048ba891 --- /dev/null +++ b/charts/incubator/doplarr/values.yaml @@ -0,0 +1,39 @@ +image: + repository: ghcr.io/kiranshila/doplarr + tag: v3.3.0@sha256:e50953500a73b4dc2670790f8c3f178387eee1a70819aefe4f2c8d9b8d17c116 + pullPolicy: IfNotPresent + +secret: + OVERSEERR__API: "" + OVERSEERR__DEFAULT_ID: "" + SONARR__API: "" + RADARR__API: "" + DISCORD__ROLE_ID: "" + +env: + OVERSEERR__URL: "" + DISCORD__TOKEN: "" + DISCORD__MAX_RESULTS: 25 + DISCORD__REQUESTED_MSG_STYLE: ":plain" + SONARR__URL: "" + SONARR__QUALITY_PROFILE: "" + SONARR__LANGUAGE_PROFILE: "" + RADARR__URL: "" + RADARR__QUALITY_PROFILE: "" + PARTIAL_SEASONS: true + LOG_LEVEL: ":info" + +service: + main: + enabled: false + ports: + main: + enabled: false + +probes: + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false diff --git a/docs/_static/img/appicons/doplarr.png b/docs/_static/img/appicons/doplarr.png new file mode 100644 index 00000000000..380e9f251a0 Binary files /dev/null and b/docs/_static/img/appicons/doplarr.png differ