From 14573b6a24230248b35080645163d6d4ea8efbc7 Mon Sep 17 00:00:00 2001 From: Ryan Holt Date: Thu, 21 Jan 2021 15:47:16 -0500 Subject: [PATCH] initial add for xbackbone (#507) --- charts/xbackbone/.helmignore | 24 +++++++++ charts/xbackbone/Chart.yaml | 20 ++++++++ charts/xbackbone/OWNERS | 8 +++ charts/xbackbone/README.md | 67 ++++++++++++++++++++++++++ charts/xbackbone/templates/NOTES.txt | 1 + charts/xbackbone/templates/common.yaml | 1 + charts/xbackbone/values.yaml | 23 +++++++++ 7 files changed, 144 insertions(+) create mode 100644 charts/xbackbone/.helmignore create mode 100644 charts/xbackbone/Chart.yaml create mode 100644 charts/xbackbone/OWNERS create mode 100644 charts/xbackbone/README.md create mode 100644 charts/xbackbone/templates/NOTES.txt create mode 100644 charts/xbackbone/templates/common.yaml create mode 100644 charts/xbackbone/values.yaml diff --git a/charts/xbackbone/.helmignore b/charts/xbackbone/.helmignore new file mode 100644 index 00000000..e559de0a --- /dev/null +++ b/charts/xbackbone/.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/xbackbone/Chart.yaml b/charts/xbackbone/Chart.yaml new file mode 100644 index 00000000..3b1b129f --- /dev/null +++ b/charts/xbackbone/Chart.yaml @@ -0,0 +1,20 @@ +apiVersion: v2 +appVersion: 3.3.3 +description: XBackBone is a simple, self-hosted, lightweight PHP file manager that support the instant sharing tool ShareX and *NIX systems. It supports uploading and displaying images, GIF, video, code, formatted text, and file downloading and uploading. Also have a web UI with multi user management, past uploads history and search support. +name: xbackbone +version: 1.0.0 +keywords: + - xbackbone + - xshare +home: https://github.com/k8s-at-home/charts/tree/master/charts/xbackbone +icon: https://github.com/SergiX44/XBackBone/raw/master/.github/xbackbone.png +sources: + - https://github.com/SergiX44/XBackBone + - https://hub.docker.com/r/pe46dro/xbackbone-docker +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/xbackbone/OWNERS b/charts/xbackbone/OWNERS new file mode 100644 index 00000000..1ce35762 --- /dev/null +++ b/charts/xbackbone/OWNERS @@ -0,0 +1,8 @@ +approvers: +- billimek +- onedr0p +- bjw-s +reviewers: +- billimek +- onedr0p +- bjw-s diff --git a/charts/xbackbone/README.md b/charts/xbackbone/README.md new file mode 100644 index 00000000..073644c2 --- /dev/null +++ b/charts/xbackbone/README.md @@ -0,0 +1,67 @@ +# XBackBone + +This is a helm chart for [XBackBone](https://github.com/SergiX44/XBackBone). + +**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/xbackbone +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +helm install --name my-release k8s-at-home/xbackbone +``` + +## 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/xbackbone/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 xbackbone \ + --set env.TZ="America/New_York" \ + k8s-at-home/xbackbone +``` +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the +chart. For example, +```console +helm install xbackbone k8s-at-home/xbackbone --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/xbackbone/templates/NOTES.txt b/charts/xbackbone/templates/NOTES.txt new file mode 100644 index 00000000..90f7b653 --- /dev/null +++ b/charts/xbackbone/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/xbackbone/templates/common.yaml b/charts/xbackbone/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/charts/xbackbone/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/xbackbone/values.yaml b/charts/xbackbone/values.yaml new file mode 100644 index 00000000..81d26480 --- /dev/null +++ b/charts/xbackbone/values.yaml @@ -0,0 +1,23 @@ +# Default values for XBackbone. + +image: + repository: pe46dro/xbackbone-docker + pullPolicy: IfNotPresent + tag: 3.3.3 + +strategy: + type: Recreate + +service: + port: + port: 80 + +env: {} + # TZ: UTC + # LOG_LEVEL: info + +persistence: + config: + enabled: false + emptyDir: false + mountPath: /app/config