diff --git a/charts/tvheadend/.helmignore b/charts/tvheadend/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/charts/tvheadend/.helmignore @@ -0,0 +1,23 @@ +# 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 +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/tvheadend/Chart.yaml b/charts/tvheadend/Chart.yaml new file mode 100644 index 00000000..766b9ed4 --- /dev/null +++ b/charts/tvheadend/Chart.yaml @@ -0,0 +1,18 @@ +apiVersion: v2 +appVersion: latest +description: TVheadend - a TV streaming server and digital video recorder +name: tvheadend +version: 1.0.0 +keywords: + - tv + - streaming + - dvb +home: https://github.com/k8s-at-home/charts/tree/master/charts/tvheadend +sources: + - https://github.com/tvheadend/tvheadend +maintainers: + - name: mr-onion-2 +dependencies: + - name: common + repository: https://k8s-at-home.com/charts/ + version: 2.1.1 diff --git a/charts/tvheadend/README.md b/charts/tvheadend/README.md new file mode 100644 index 00000000..87456319 --- /dev/null +++ b/charts/tvheadend/README.md @@ -0,0 +1,43 @@ +# tvheadend + +This is a helm chart for [tvheadend](https://github.com/tvheadend/tvheadend). + +**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/tvheadend +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +helm install my-release k8s-at-home/tvheadend +``` + +## 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 +The chart's [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/tvheadend/values.yaml) file contains a set of suggested values for a minimal deployment. Further configuration options are found in the [common library](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml). + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, +```console +helm install tvheadend \ + --set env.TZ="America/New_York" \ + k8s-at-home/tvheadend +``` +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, +```console +helm install tvheadend k8s-at-home/tvheadend --values values.yaml +``` diff --git a/charts/tvheadend/templates/NOTES.txt b/charts/tvheadend/templates/NOTES.txt new file mode 100644 index 00000000..a4b771eb --- /dev/null +++ b/charts/tvheadend/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} \ No newline at end of file diff --git a/charts/tvheadend/templates/common.yaml b/charts/tvheadend/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/charts/tvheadend/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/tvheadend/values.yaml b/charts/tvheadend/values.yaml new file mode 100644 index 00000000..1b6c9675 --- /dev/null +++ b/charts/tvheadend/values.yaml @@ -0,0 +1,30 @@ +# Default values for tvheadend. + +image: + repository: linuxserver/tvheadend + pullPolicy: IfNotPresent + tag: latest + +strategy: + type: Recreate + +# See https://github.com/linuxserver/docker-tvheadend#parameters +env: {} + # PUID: 1000 + # PGID: 1000 + # TZ: Europe/London + # RUN_OPTS: + +service: + port: + port: 9981 + +persistence: + config: + enabled: false + emptyDir: false + mountPath: /config + recordings: + enabled: false + emptyDir: false + mountPath: /recordings