[teedy] Add chart teedy (#521)

Signed-off-by: Ryan Holt <ryan@ryanholt.net>
This commit is contained in:
Ryan Holt 2021-01-27 10:14:01 -05:00 committed by GitHub
parent a6044906b8
commit 8dcc5b95ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 149 additions and 0 deletions

25
charts/teedy/Chart.yaml Normal file
View File

@ -0,0 +1,25 @@
apiVersion: v2
appVersion: v1.9
description: Teedy is an open source, lightweight document management system for individuals and businesses.
name: teedy
version: 1.0.0
keywords:
- teedy
- documents
- management
home: https://github.com/k8s-at-home/charts/tree/master/charts/teedy
icon: https://camo.githubusercontent.com/529d95bcf95198a51c7176ed59068238a6099ee6828aa47a3aac697d6c5ee5f4/68747470733a2f2f74656564792e696f2f696d672f6769746875622d7469746c652e706e67
sources:
- https://github.com/sismics/docs
- https://github.com/k8s-at-home/charts/tree/master/charts/teedy
maintainers:
- name: carpenike
email: ryan@ryanholt.net
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.2.1
- name: postgresql
version: 10.2.5
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

8
charts/teedy/OWNERS Normal file
View File

@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

68
charts/teedy/README.md Normal file
View File

@ -0,0 +1,68 @@
# teedy
This is a helm chart for [teedy](https://github.com/sismics/docs).
**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/teedy
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/teedy
```
## 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/teedy/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 teedy \
--set env.TZ="America/New_York" \
k8s-at-home/teedy
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install teedy k8s-at-home/teedy --values values.yaml
```
These values will be nested as it is a dependency, for example
```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.

View File

@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@ -0,0 +1 @@
{{ include "common.all" . }}

46
charts/teedy/values.yaml Normal file
View File

@ -0,0 +1,46 @@
# Default values for teedy.
image:
repository: sismics/docs
pullPolicy: IfNotPresent
tag: v1.9
strategy:
type: Recreate
# See more environment varaibles in the teedy documentation
# https://github.com/sismics/docs
env: {}
# DOCS_DEFAULT_LANGUAGE: eng
# DOCS_BASE_URL:
# DOCS_ADMIN_EMAIL_INIT:
# DOCS_ADMIN_PASSWORD_INIT:
# DATABASE_URL: 'jdbc:postgresql://teedy-postgresql:5432/teedydb"
# DATABASE_USER: teedyuser
# DATABASE_PASSWORD: "$2y$12$/MehlbYmXDq8sz1xdqOupOOHNUdsVrBLakdev6y5qqTUeHZqicYA6" # teedypassword
# DOCS_SMTP_HOSTNAME:
# DOCS_SMTP_PORT:
# DOCS_SMTP_USERNAME:
# DOCS_SMTP_PASSWORD:
# TZ:
service:
port:
port: 8080
persistence:
data:
enabled: false
emptyDir: false
mountPath: /data
# Enables postgres
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
postgresql:
enabled: false
postgresqlUsername: teedyuser
postgresqlPassword: teedypassword
postgresqlDatabase: teedydb
persistence:
enabled: false
# storageClass: ""