From 37c0bf2fba6739f28010e18e5c8f3c7057249355 Mon Sep 17 00:00:00 2001 From: Gerald Wu Date: Mon, 30 May 2022 05:50:48 +0000 Subject: [PATCH] [send] Added timvisee Send chart (#1586) * [send] Added timvisee Send chart Signed-off-by: geraldwuhoo --- charts/stable/send/.helmignore | 26 ++++++++++++ charts/stable/send/Chart.yaml | 27 ++++++++++++ charts/stable/send/README.md | 44 ++++++++++++++++++++ charts/stable/send/README_CONFIG.md.gotmpl | 9 ++++ charts/stable/send/ci/ct-values.yaml | 25 +++++++++++ charts/stable/send/templates/NOTES.txt | 1 + charts/stable/send/templates/common.yaml | 1 + charts/stable/send/values.yaml | 48 ++++++++++++++++++++++ 8 files changed, 181 insertions(+) create mode 100644 charts/stable/send/.helmignore create mode 100644 charts/stable/send/Chart.yaml create mode 100644 charts/stable/send/README.md create mode 100644 charts/stable/send/README_CONFIG.md.gotmpl create mode 100644 charts/stable/send/ci/ct-values.yaml create mode 100644 charts/stable/send/templates/NOTES.txt create mode 100644 charts/stable/send/templates/common.yaml create mode 100644 charts/stable/send/values.yaml diff --git a/charts/stable/send/.helmignore b/charts/stable/send/.helmignore new file mode 100644 index 00000000..4379e2b3 --- /dev/null +++ b/charts/stable/send/.helmignore @@ -0,0 +1,26 @@ +# 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 diff --git a/charts/stable/send/Chart.yaml b/charts/stable/send/Chart.yaml new file mode 100644 index 00000000..bc23d1de --- /dev/null +++ b/charts/stable/send/Chart.yaml @@ -0,0 +1,27 @@ +apiVersion: v2 +appVersion: v3.4.20 +description: Simple, private file sharing. +name: send +version: 1.0.0 +kubeVersion: ">=1.16.0-0" +keywords: +- send +home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/send +icon: https://gitlab.com/timvisee/send/-/raw/master/assets/icon.svg +sources: + - https://gitlab.com/timvisee/send +maintainers: +- name: geraldwuhoo + email: gerald@geraldwu.com +dependencies: +- name: common + repository: https://library-charts.k8s-at-home.com + version: 4.4.2 +- name: redis + repository: https://charts.bitnami.com/bitnami + version: 16.10.0 + condition: redis.enabled +annotations: + artifacthub.io/changes: | + - kind: added + description: Initial version diff --git a/charts/stable/send/README.md b/charts/stable/send/README.md new file mode 100644 index 00000000..945d1ddc --- /dev/null +++ b/charts/stable/send/README.md @@ -0,0 +1,44 @@ +# send + +![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) + +Simple, private file sharing. + +**Homepage:** + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| geraldwuhoo | | | + +## Source Code + +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +| Repository | Name | Version | +|------------|------|---------| +| https://charts.bitnami.com/bitnami | redis | 16.10.0 | +| https://library-charts.k8s-at-home.com | common | 4.4.2 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| env | object | See below | environment variables. See more environment variables in the [send documentation](https://send.org/docs). | +| env.TZ | string | `"UTC"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"registry.gitlab.com/timvisee/send"` | image repository | +| image.tag | string | chart.appVersion | image tag | +| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | +| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. | +| redis.auth.enabled | bool | `false` | | +| redis.enabled | bool | `false` | | +| service | object | See values.yaml | Configures service settings for the chart. | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.10.0](https://github.com/norwoodj/helm-docs/releases/v1.10.0) diff --git a/charts/stable/send/README_CONFIG.md.gotmpl b/charts/stable/send/README_CONFIG.md.gotmpl new file mode 100644 index 00000000..e93d80bf --- /dev/null +++ b/charts/stable/send/README_CONFIG.md.gotmpl @@ -0,0 +1,9 @@ +{{- define "custom.custom.configuration.header" -}} +## Custom configuration +{{- end -}} + +{{- define "custom.custom.configuration" -}} +{{ template "custom.custom.configuration.header" . }} + +N/A +{{- end -}} diff --git a/charts/stable/send/ci/ct-values.yaml b/charts/stable/send/ci/ct-values.yaml new file mode 100644 index 00000000..204cc6c6 --- /dev/null +++ b/charts/stable/send/ci/ct-values.yaml @@ -0,0 +1,25 @@ +env: + REDIS_HOST: send-redis-master + FILE_DIR: /uploads + +podSecurityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + fsGroupChangePolicy: "OnRootMismatch" + +persistence: + uploads: + enabled: true + type: emptyDir + mountPath: /uploads + +redis: + enabled: true + architecture: standalone + auth: + enabled: false + master: + persistence: + enabled: false + fullnameOverride: send-redis diff --git a/charts/stable/send/templates/NOTES.txt b/charts/stable/send/templates/NOTES.txt new file mode 100644 index 00000000..90f7b653 --- /dev/null +++ b/charts/stable/send/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/stable/send/templates/common.yaml b/charts/stable/send/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/charts/stable/send/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/stable/send/values.yaml b/charts/stable/send/values.yaml new file mode 100644 index 00000000..74c51bb1 --- /dev/null +++ b/charts/stable/send/values.yaml @@ -0,0 +1,48 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml +# + +image: + # -- image repository + repository: registry.gitlab.com/timvisee/send + # -- image tag + # @default -- chart.appVersion + tag: + # -- image pull policy + pullPolicy: IfNotPresent + +# -- environment variables. See more environment variables in the [send documentation](https://send.org/docs). +# @default -- See below +env: + # -- Set the container timezone + TZ: UTC + +# -- Configures service settings for the chart. +# @default -- See values.yaml +service: + main: + ports: + http: + port: 1443 + +ingress: + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: false + +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml +persistence: + uploads: + enabled: false + mountPath: /uploads + accessMode: ReadWriteOnce + +redis: + enabled: false + auth: + enabled: false