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 | `[]` | | | 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 | `[]` | | | 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 | `[]` | | | 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 | `[]` | | | 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! description: Application for managing recipes, planning meals, building shopping lists and much much more!
home: https://gitlab.com/oecis/charts/-/tree/main/charts/tandoor home: https://gitlab.com/oecis/charts/-/tree/main/charts/tandoor
type: application type: application
version: 0.1.0 version: 0.1.1
appVersion: "1.16.0" appVersion: "1.5.9"

View File

@ -1,6 +1,6 @@
# tandoor # 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! 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.annotations | object | `{}` | |
| persistence.mediafiles.name | string | `"tandoor-mediafiles"` | | | persistence.mediafiles.name | string | `"tandoor-mediafiles"` | |
| persistence.mediafiles.size | string | `"1Gi"` | | | 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 | `{}` | | | podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | | | podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | | | replicaCount | int | `1` | |
| securityContext | object | `{}` | | | securityContext | object | `{}` | |
| service.gunicorn.name | string | `"gunicorn"` | | | service.gunicorn.name | string | `"gunicorn"` | |
| service.gunicorn.port | int | `80` | | | service.gunicorn.port | int | `8080` | |
| service.gunicorn.type | string | `"ClusterIP"` | | | service.gunicorn.type | string | `"ClusterIP"` | |
| service.nginx.name | string | `"nginx"` | | | service.nginx.name | string | `"nginx"` | |
| service.nginx.port | int | `80` | | | service.nginx.port | int | `80` | |
@ -52,21 +48,20 @@ Application for managing recipes, planning meals, building shopping lists and mu
| serviceAccount.annotations | object | `{}` | | | serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | | | serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | | | serviceAccount.name | string | `""` | |
| tandoor.config.encryptionSecret | string | `""` | | | tandoor.config.encryptionKey.secretKey | string | `"encryption-key"` | |
| tandoor.config.existingSecret | string | `""` | | | tandoor.config.encryptionKey.secretName | string | `""` | |
| tandoor.config.postgres.db | string | `"tandoor"` | | | tandoor.config.postgres.db | string | `"tandoor"` | |
| tandoor.config.postgres.host | string | `""` | | | 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.port | int | `5432` | |
| tandoor.config.postgres.user | string | `"tandoor"` | | | 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.extraEnv | list | `[]` | |
| tandoor.image.pullPolicy | string | `"IfNotPresent"` | | | tandoor.image.pullPolicy | string | `"IfNotPresent"` | |
| tandoor.image.repository | string | `"vabene1111/recipes"` | | | tandoor.image.repository | string | `"vabene1111/recipes"` | |
| tandoor.image.tag | string | `"latest"` | | | tandoor.image.tag | string | `""` | |
| tandoor.resources | object | `{}` | | | tandoor.resources | object | `{}` | |
| tolerations | list | `[]` | | | 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 }} claimName: {{ .Values.persistence.mediafiles.existingClaim }}
{{- end }} {{- end }}
- name: staticfiles - name: staticfiles
persistentVolumeClaim: emptyDir: {}
{{- if not .Values.persistence.staticfiles.existingClaim }}
claimName: {{ .Values.persistence.staticfiles.name }}
{{- else }}
claimName: {{ .Values.persistence.staticfiles.existingClaim }}
{{- end }}
- name: nginx-config - name: nginx-config
configMap: configMap:
name: tandoor-nginx-config name: tandoor-nginx-config
@ -93,7 +88,7 @@ spec:
periodSeconds: 15 periodSeconds: 15
env: env:
- name: DB_ENGINE - name: DB_ENGINE
value: django.db.backends.postgresql_psycopg2 value: "django.db.backends.postgresql"
- name: POSTGRES_HOST - name: POSTGRES_HOST
value: {{ .Values.tandoor.config.postgres.host | quote }} value: {{ .Values.tandoor.config.postgres.host | quote }}
- name: POSTGRES_PORT - name: POSTGRES_PORT
@ -106,26 +101,20 @@ spec:
value: "2" value: "2"
- name: GUNICORN_THREADS - name: GUNICORN_THREADS
value: "2" value: "2"
- name: GUNICORN_MEDIA
value: "0"
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
{{- if not .Values.tandoor.config.secretKeys.postgresUserPasswordKey }}
value: {{ .Values.tandoor.config.postgres.password | quote }}
{{- else }}
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ .Values.tandoor.config.existingSecret }} name: {{ .Values.tandoor.config.postgres.password.secretName }}
key: {{ .Values.tandoor.config.secretKeys.postgresUserPasswordKey }} key: {{ .Values.tandoor.config.postgres.password.secretKey }}
{{- end }}
- name: POSTGRES_DB - name: POSTGRES_DB
value: {{ .Values.tandoor.config.postgres.db }} value: {{ .Values.tandoor.config.postgres.db }}
- name: SECRET_KEY - name: SECRET_KEY
{{- if not .Values.tandoor.config.secretKeys.encryptionSecretKey }}
value: {{ .Values.tandoor.config.encryptionSecret }}
{{- else }}
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ .Values.tandoor.config.existingSecret }} name: {{ .Values.tandoor.config.encryptionKey.secretName }}
key: {{ .Values.tandoor.config.secretKeys.encryptionSecretKey }} key: {{ .Values.tandoor.config.encryptionKey.secretKey }}
{{- end}}
{{- if not (empty .Values.tandoor.extraEnv) }} {{- if not (empty .Values.tandoor.extraEnv) }}
{{- toYaml .Values.tandoor.extraEnv | nindent 12 }} {{- toYaml .Values.tandoor.extraEnv | nindent 12 }}
{{- end }} {{- 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 }} {{- if not .Values.persistence.mediafiles.existingClaim }}
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim

View File

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