update tandoor

This commit is contained in:
Jan-Niklas Weghorn 2023-11-29 11:47:33 +01:00
parent b4df09641c
commit b258182487
12 changed files with 145 additions and 78 deletions

View File

@ -24,4 +24,4 @@ Helm chart for the njalla webhook for cert manager
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

View File

@ -34,4 +34,4 @@ High-Performance, Low-Memory, Lightweight, Extensible Minecraft Reverse Proxy wi
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

61
charts/joplin/README.md Normal file
View File

@ -0,0 +1,61 @@
# joplin
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.13.1-beta](https://img.shields.io/badge/AppVersion-2.13.1--beta-informational?style=flat-square)
A Note Taking App
## Requirements
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 12.x.x |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"joplin/server"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"chart-example.local"` | |
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| joplin.baseUrl | string | `"https://example.com"` | |
| joplin.db.database | string | `"joplin"` | |
| joplin.db.existingSecret | string | `""` | |
| joplin.db.host | string | `""` | |
| joplin.db.password | string | `""` | |
| joplin.db.port | int | `5432` | |
| joplin.db.secretKeys.passwordKey | string | `"password"` | |
| joplin.db.type | string | `"pg"` | |
| joplin.db.user | string | `""` | |
| joplin.extraEnv | list | `[]` | |
| joplin.tz | string | `"Europe/Berlin"` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| postgresql.enabled | bool | `true` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.port | int | `22300` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

View File

@ -68,4 +68,4 @@ UI for the ory stack (kratos, hydra, etc.) built with phoenix in elixir
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

View File

@ -48,4 +48,4 @@ Send push notifications to your phone or desktop using PUT/POST
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

View File

@ -3,5 +3,5 @@ name: tandoor
description: Application for managing recipes, planning meals, building shopping lists and much much more!
home: https://gitlab.com/oecis/charts/-/tree/main/charts/tandoor
type: application
version: 0.1.0
appVersion: "1.16.0"
version: 0.1.1
appVersion: "1.5.9"

View File

@ -1,6 +1,6 @@
# tandoor
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.9](https://img.shields.io/badge/AppVersion-1.5.9-informational?style=flat-square)
Application for managing recipes, planning meals, building shopping lists and much much more!
@ -35,16 +35,12 @@ Application for managing recipes, planning meals, building shopping lists and mu
| persistence.mediafiles.annotations | object | `{}` | |
| persistence.mediafiles.name | string | `"tandoor-mediafiles"` | |
| persistence.mediafiles.size | string | `"1Gi"` | |
| persistence.staticfiles.accessMode | string | `"ReadWriteOnce"` | |
| persistence.staticfiles.annotations | object | `{}` | |
| persistence.staticfiles.name | string | `"tandoor-staticfiles"` | |
| persistence.staticfiles.size | string | `"1Gi"` | |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| securityContext | object | `{}` | |
| service.gunicorn.name | string | `"gunicorn"` | |
| service.gunicorn.port | int | `80` | |
| service.gunicorn.port | int | `8080` | |
| service.gunicorn.type | string | `"ClusterIP"` | |
| service.nginx.name | string | `"nginx"` | |
| service.nginx.port | int | `80` | |
@ -52,21 +48,20 @@ Application for managing recipes, planning meals, building shopping lists and mu
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| tandoor.config.encryptionSecret | string | `""` | |
| tandoor.config.existingSecret | string | `""` | |
| tandoor.config.encryptionKey.secretKey | string | `"encryption-key"` | |
| tandoor.config.encryptionKey.secretName | string | `""` | |
| tandoor.config.postgres.db | string | `"tandoor"` | |
| tandoor.config.postgres.host | string | `""` | |
| tandoor.config.postgres.password | string | `""` | |
| tandoor.config.postgres.password.secretKey | string | `"password"` | |
| tandoor.config.postgres.password.secretName | string | `""` | |
| tandoor.config.postgres.port | int | `5432` | |
| tandoor.config.postgres.user | string | `"tandoor"` | |
| tandoor.config.secretKeys.encryptionSecretKey | string | `"encryption-key"` | |
| tandoor.config.secretKeys.postgresUserPasswordKey | string | `"postgres-user-password"` | |
| tandoor.extraEnv | list | `[]` | |
| tandoor.image.pullPolicy | string | `"IfNotPresent"` | |
| tandoor.image.repository | string | `"vabene1111/recipes"` | |
| tandoor.image.tag | string | `"latest"` | |
| tandoor.image.tag | string | `""` | |
| tandoor.resources | object | `{}` | |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

View File

@ -36,12 +36,7 @@ spec:
claimName: {{ .Values.persistence.mediafiles.existingClaim }}
{{- end }}
- name: staticfiles
persistentVolumeClaim:
{{- if not .Values.persistence.staticfiles.existingClaim }}
claimName: {{ .Values.persistence.staticfiles.name }}
{{- else }}
claimName: {{ .Values.persistence.staticfiles.existingClaim }}
{{- end }}
emptyDir: {}
- name: nginx-config
configMap:
name: tandoor-nginx-config
@ -93,7 +88,7 @@ spec:
periodSeconds: 15
env:
- name: DB_ENGINE
value: django.db.backends.postgresql_psycopg2
value: "django.db.backends.postgresql"
- name: POSTGRES_HOST
value: {{ .Values.tandoor.config.postgres.host | quote }}
- name: POSTGRES_PORT
@ -106,26 +101,20 @@ spec:
value: "2"
- name: GUNICORN_THREADS
value: "2"
- name: GUNICORN_MEDIA
value: "0"
- name: POSTGRES_PASSWORD
{{- if not .Values.tandoor.config.secretKeys.postgresUserPasswordKey }}
value: {{ .Values.tandoor.config.postgres.password | quote }}
{{- else }}
valueFrom:
secretKeyRef:
name: {{ .Values.tandoor.config.existingSecret }}
key: {{ .Values.tandoor.config.secretKeys.postgresUserPasswordKey }}
{{- end }}
name: {{ .Values.tandoor.config.postgres.password.secretName }}
key: {{ .Values.tandoor.config.postgres.password.secretKey }}
- name: POSTGRES_DB
value: {{ .Values.tandoor.config.postgres.db }}
- name: SECRET_KEY
{{- if not .Values.tandoor.config.secretKeys.encryptionSecretKey }}
value: {{ .Values.tandoor.config.encryptionSecret }}
{{- else }}
valueFrom:
secretKeyRef:
name: {{ .Values.tandoor.config.existingSecret }}
key: {{ .Values.tandoor.config.secretKeys.encryptionSecretKey }}
{{- end}}
name: {{ .Values.tandoor.config.encryptionKey.secretName }}
key: {{ .Values.tandoor.config.encryptionKey.secretKey }}
{{- if not (empty .Values.tandoor.extraEnv) }}
{{- toYaml .Values.tandoor.extraEnv | nindent 12 }}
{{- end }}

View File

@ -1,27 +1,3 @@
{{- if not .Values.persistence.staticfiles.existingClaim }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Values.persistence.staticfiles.name }}
namespace: {{ include "tandoor.namespace" . }}
annotations:
{{- with .Values.persistence.staticfiles.annotations }}
{{ toYaml . | nindent 4 }}
{{- end }}
helm.sh/resource-policy: keep
labels:
{{- include "tandoor.labels" . | nindent 4 }}
spec:
{{- if .Values.persistence.staticfiles.storageClass }}
storageClassName: {{ .Values.persistence.staticfiles.storageClass | quote }}
{{- end }}
accessModes:
- {{ .Values.persistence.staticfiles.accessMode }}
resources:
requests:
storage: {{ .Values.persistence.staticfiles.size | quote }}
{{- end }}
---
{{- if not .Values.persistence.mediafiles.existingClaim }}
apiVersion: v1
kind: PersistentVolumeClaim

View File

@ -33,13 +33,6 @@ securityContext: {}
# runAsUser: 1000
persistence:
staticfiles:
name: tandoor-staticfiles
# existingClaim: ""
size: 1Gi
accessMode: ReadWriteOnce
# storageClass: ""
annotations: {}
mediafiles:
name: tandoor-mediafiles
# existingClaim: ""
@ -51,7 +44,7 @@ persistence:
service:
gunicorn:
type: ClusterIP
port: 80
port: 8080
name: gunicorn
nginx:
type: ClusterIP
@ -118,17 +111,17 @@ tandoor:
repository: vabene1111/recipes
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
tag: ""
resources: {}
config:
encryptionSecret: ""
encryptionKey:
secretName: ""
secretKey: "encryption-key"
postgres:
host: ""
port: 5432
user: tandoor
password: ""
password:
secretName: ""
secretKey: "password"
db: tandoor
existingSecret: ""
secretKeys:
postgresUserPasswordKey: "postgres-user-password"
encryptionSecretKey: "encryption-key"

53
charts/trilium/README.md Normal file
View File

@ -0,0 +1,53 @@
# trilium
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.60.4](https://img.shields.io/badge/AppVersion-0.60.4-informational?style=flat-square)
A Helm chart for trilium notes.
**Homepage:** <https://gitlab.com/oecis/charts/-/tree/main/charts/trilium>
## Source Code
* <https://github.com/zadam/trilium>
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| dataDir | string | `"/srv/trilium-data"` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"zadam/trilium"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"chart-example.local"` | |
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| persistentVolume.accessModes[0] | string | `"ReadWriteOnce"` | |
| persistentVolume.annotations | object | `{}` | |
| persistentVolume.enabled | bool | `false` | |
| persistentVolume.size | string | `"2Gi"` | |
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.port | int | `8080` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `nil` | |
| tolerations | list | `[]` | |
| trilium.extraEnv | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)

View File

@ -79,4 +79,4 @@ The to-do app to organize your life
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)