Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot
2022-12-17 14:47:34 +00:00
parent 8104251f4f
commit ca2cc105ca
15 changed files with 2082 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
**Important:**
*for the complete changelog, please refer to the website*
## [briefkasten-0.0.1]briefkasten-0.0.1 (2022-12-17)
### Feat
- add briefkasten ([#4907](https://github.com/truecharts/charts/issues/4907))

View File

@@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "0.20.2026"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.9
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 11.0.7
deprecated: false
description: Self-hosted bookmarking application.
home: https://truecharts.org/docs/charts/stable/jackett
icon: https://truecharts.org/img/hotlink-ok/chart-icons/jackett.png
keywords:
- bookmark
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: briefkasten
sources:
- https://github.com/ndom91/briefkasten
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- bookmark
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

View File

@@ -0,0 +1,9 @@
## [briefkasten-0.0.1]briefkasten-0.0.1 (2022-12-17)
### Feat
- add briefkasten ([#4907](https://github.com/truecharts/charts/issues/4907))

View File

@@ -0,0 +1,8 @@
Self-hosted bookmarking application.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/incubator/briefkasten](https://truecharts.org/docs/charts/incubator/briefkasten)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@@ -0,0 +1,66 @@
image:
repository: tccr.io/truecharts/briefkasten
pullPolicy: IfNotPresent
tag: latest@sha256:4bf3e15f5219605c7801ec5d69e64d0d3d80fef41a6a1dcfb36f3ded1f22ae13
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
briefkasten:
general:
nextauth_url: http://localhost:3000
github:
id: ""
secret: ""
google:
id: ""
secret: ""
supabase:
key:
url:
bucket_id:
mail:
from:
server:
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-config'
service:
main:
ports:
main:
port: 10349
protocol: HTTP
targetPort: 3000
probes:
liveness:
enabled: false
type: HTTP
path: /
readiness:
enabled: false
type: HTTP
path: /
startup:
enabled: false
type: HTTP
path: /
postgresql:
enabled: true
existingSecret: dbcreds
postgresqlUsername: briefkasten
postgresqlDatabase: briefkasten
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
{{/* Define the configmap */}}
{{- define "briefkasten.config" -}}
{{- $configName := printf "%s-config" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{- with .Values.briefkasten.general.nextauth_url }}
NEXTAUTH_URL: {{ . }}
{{- end }}
{{- with .Values.briefkasten.supabase.url }}
SUPABASE_URL: {{ . }}
{{- end }}
{{- with .Values.briefkasten.mail.server }}
SMTP_SERVER: {{ . }}
{{- end }}
{{- with .Values.briefkasten.mail.from }}
SMTP_FROM: {{ . }}
{{- end }}
{{- end -}}

View File

@@ -0,0 +1,25 @@
{{- define "briefkasten.createdb" -}}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
runAsUser: {{ .Values.podSecurityContext.runAsUser }}
runAsGroup: {{ .Values.podSecurityContext.runAsGroup }}
readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem }}
runAsNonRoot: {{ .Values.securityContext.runAsNonRoot }}
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-config'
command: ["/bin/sh", "-c"]
args:
- |-
pnpm start &
echo "Waiting 5s for app to start..."
sleep 5
echo "Executing DB Seed..."
until pnpm db:push; do echo "DB Seed failed... Retrying in 5s..." sleep 5; done;
echo "...Done"
echo "Exiting... App will start now..."
exit 0
{{- end -}}

View File

@@ -0,0 +1,40 @@
{{/* Define the secret */}}
{{- define "briefkasten.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
NEXTAUTH_SECRET: {{ index .data "NEXTAUTH_SECRET" }}
{{- else }}
NEXTAUTH_SECRET: {{ randAlphaNum 32 | b64enc }}
{{- end }}
DATABASE_URL: {{ get .Values.postgresql.url "complete" | trimAll "\"" | b64enc }}
{{- with .Values.briefkasten.github.id }}
GITHUB_ID: {{ . | b64enc }}
{{- end }}
{{- with .Values.briefkasten.github.secret }}
GITHUB_SECRET: {{ . | b64enc }}
{{- end }}
{{- with .Values.briefkasten.google.id }}
GOOGLE_ID: {{ . | b64enc }}
{{- end }}
{{- with .Values.briefkasten.google.secret }}
GOOGLE_SECRET: {{ . | b64enc }}
{{- end }}
{{- with .Values.briefkasten.supabase.key }}
SUPABASE_KEY: {{ . | b64enc }}
{{- end }}
{{- with .Values.briefkasten.supabase.bucket_id }}
SUPABASE_BUCKET_ID: {{ . | b64enc }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,13 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render config */}}
{{- include "briefkasten.config" . }}
{{/* Render secret */}}
{{- include "briefkasten.secret" . }}
{{- $_ := set .Values.installContainers "createdb" (include "briefkasten.createdb" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

View File

@@ -0,0 +1,4 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/jackett.png
categories:
- bookmark