From f319611b09cad3edfa28eff26f87c543a13b564b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=97=AA=D1=94=CE=BD=CE=B9=CE=B7=20=E1=97=B7=CF=85=D0=BD?= =?UTF-8?q?=CA=9F?= Date: Mon, 18 Jan 2021 16:25:21 -0500 Subject: [PATCH] [overseerr] new chart (#501) --- charts/overseerr/.helmignore | 24 +++++++++ charts/overseerr/Chart.yaml | 22 +++++++++ charts/overseerr/OWNERS | 8 +++ charts/overseerr/README.md | 67 ++++++++++++++++++++++++++ charts/overseerr/templates/NOTES.txt | 1 + charts/overseerr/templates/common.yaml | 1 + charts/overseerr/values.yaml | 23 +++++++++ 7 files changed, 146 insertions(+) create mode 100644 charts/overseerr/.helmignore create mode 100644 charts/overseerr/Chart.yaml create mode 100644 charts/overseerr/OWNERS create mode 100644 charts/overseerr/README.md create mode 100644 charts/overseerr/templates/NOTES.txt create mode 100644 charts/overseerr/templates/common.yaml create mode 100644 charts/overseerr/values.yaml diff --git a/charts/overseerr/.helmignore b/charts/overseerr/.helmignore new file mode 100644 index 00000000..e559de0a --- /dev/null +++ b/charts/overseerr/.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/overseerr/Chart.yaml b/charts/overseerr/Chart.yaml new file mode 100644 index 00000000..a10def71 --- /dev/null +++ b/charts/overseerr/Chart.yaml @@ -0,0 +1,22 @@ +apiVersion: v2 +appVersion: 1.16.0 +description: Overseerr is a free and open source software application for managing requests for your media library. It integrates with your existing services such as Sonarr, Radarr and Plex! +name: overseerr +version: 1.0.0 +keywords: + - overseerr + - plex + - sonarr + - radarr +home: https://github.com/k8s-at-home/charts/tree/master/charts/overseerr +icon: https://i.imgur.com/TMoEG7g.png +sources: + - https://github.com/sct/overseerr + - https://hub.docker.com/r/sctx/overseerr +maintainers: + - name: billimek + email: jeff@billimek.com +dependencies: + - name: common + repository: https://k8s-at-home.com/charts/ + version: 2.2.1 diff --git a/charts/overseerr/OWNERS b/charts/overseerr/OWNERS new file mode 100644 index 00000000..1ce35762 --- /dev/null +++ b/charts/overseerr/OWNERS @@ -0,0 +1,8 @@ +approvers: +- billimek +- onedr0p +- bjw-s +reviewers: +- billimek +- onedr0p +- bjw-s diff --git a/charts/overseerr/README.md b/charts/overseerr/README.md new file mode 100644 index 00000000..b31a8ae8 --- /dev/null +++ b/charts/overseerr/README.md @@ -0,0 +1,67 @@ +# Overseerr + +This is a helm chart for [Overseerr](https://github.com/sct/overseerr). + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)** + +## TL;DR; + +```shell +$ helm repo add k8s-at-home https://k8s-at-home.com/charts/ +$ helm install k8s-at-home/overseerr +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +helm install --name my-release k8s-at-home/overseerr +``` + +## Uninstalling the Chart + +To uninstall/delete the `my-release` deployment: + +```console +helm delete my-release --purge +``` + +The command removes all the Kubernetes components associated with the chart and deletes the release. + +## Configuration +Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/overseerr/values.yaml) +file. It has several commented out suggested values. +Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options. + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, +```console +helm install overseerr \ + --set env.TZ="America/New_York" \ + k8s-at-home/overseerr +``` +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the +chart. For example, +```console +helm install overseerr k8s-at-home/overseerr --values values.yaml +``` + +```yaml +image: + tag: ... +``` + +--- +**NOTE** + +If you get +```console +Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...` +``` +it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`. + +--- + +## Upgrading an existing Release to a new major version + +A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions. diff --git a/charts/overseerr/templates/NOTES.txt b/charts/overseerr/templates/NOTES.txt new file mode 100644 index 00000000..90f7b653 --- /dev/null +++ b/charts/overseerr/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/overseerr/templates/common.yaml b/charts/overseerr/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/charts/overseerr/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/overseerr/values.yaml b/charts/overseerr/values.yaml new file mode 100644 index 00000000..90cc4cea --- /dev/null +++ b/charts/overseerr/values.yaml @@ -0,0 +1,23 @@ +# Default values for Overseerr. + +image: + repository: sctx/overseerr + pullPolicy: IfNotPresent + tag: 1.16.0 + +strategy: + type: Recreate + +service: + port: + port: 5055 + +env: {} + # TZ: UTC + # LOG_LEVEL: info + +persistence: + config: + enabled: false + emptyDir: false + mountPath: /app/config