Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-04-01 07:34:32 +00:00
parent 43c22729a8
commit 0aa43507fc
32 changed files with 3666 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Changelog<br> # Changelog<br>
<a name="postgresql-7.0.33"></a> <a name="postgresql-7.0.34"></a>
### [postgresql-7.0.33](https://github.com/truecharts/apps/compare/postgresql-7.0.28...postgresql-7.0.33) (2022-04-01) ### [postgresql-7.0.34](https://github.com/truecharts/apps/compare/postgresql-7.0.28...postgresql-7.0.34) (2022-04-01)

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 9.2.6 version: 9.2.6
digest: sha256:a567b53fc3d0d618567f328d9fbb09695895b8e15d6ca178bf4a198c58080cac digest: sha256:a567b53fc3d0d618567f328d9fbb09695895b8e15d6ca178bf4a198c58080cac
generated: "2022-04-01T07:19:42.403136671Z" generated: "2022-04-01T07:30:20.480634116Z"

View File

@ -22,7 +22,7 @@ name: postgresql
sources: sources:
- https://www.postgresql.org/ - https://www.postgresql.org/
type: application type: application
version: 7.0.33 version: 7.0.34
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- database - database

View File

@ -0,0 +1,10 @@
# Changelog<br>
<a name="ferdi-server-0.0.1"></a>
### ferdi-server-0.0.1 (2022-04-01)
#### Feat
* Add ferdi-server ([#2367](https://github.com/truecharts/apps/issues/2367))

View File

@ -0,0 +1,7 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,9 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 9.2.6
- name: postgresql
repository: https://charts.truecharts.org/
version: 7.0.27
digest: sha256:18badf2ec625ddadfd4348a1e7ce332adffcdf08c4b787e14d024f01bca60b19
generated: "2022-04-01T07:30:21.316722595Z"

View File

@ -0,0 +1,29 @@
apiVersion: v2
appVersion: "1.3.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 9.2.6
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 7.0.27
description: Server for Ferdi that you can re-use to run your own
home: https://github.com/truecharts/apps/tree/master/charts/stable/ferdi-server
icon: https://truecharts.org/_static/img/appicons/ferdi-server.png
keywords:
- ferdi
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: ferdi-server
sources:
- https://github.com/getferdi/server
version: 0.0.1
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,38 @@
# Introduction
Server for Ferdi that you can re-use to run your own
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/getferdi/server>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 7.0.27 |
| https://library-charts.truecharts.org | common | 9.2.6 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
## Upgrading, Rolling Back and Uninstalling the Chart
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,3 @@
Server for Ferdi that you can re-use to run your own
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

View File

@ -0,0 +1,60 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.APP_URL | string | `"http://localhost:3333"` | |
| env.CONNECT_WITH_FRANZ | bool | `true` | |
| env.DATA_DIR | string | `"/app/data"` | |
| env.DB_CONNECTION | string | `"pg"` | |
| env.DB_DATABASE | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| env.DB_PORT | string | `"5432"` | |
| env.DB_SSL | bool | `false` | |
| env.DB_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| env.IS_CREATION_ENABLED | bool | `true` | |
| env.IS_DASHBOARD_ENABLED | bool | `true` | |
| env.IS_REGISTRATION_ENABLED | bool | `true` | |
| env.NODE_ENV | string | `"production"` | |
| envValueFrom.DB_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.DB_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.DB_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.DB_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"getferdi/ferdi-server"` | |
| image.tag | string | `"1.3.2@sha256:b94315a20480e8c47f960590279766c8636c53f9deaaa7697499a51028e33dec"` | |
| installContainers.1-create-key-file.args[0] | string | `"keyfile=\"/app/data/FERDI_APP_KEY.txt\"; if [ ! -f ${keyfile} ]; then\n echo \"No APP_KEY File...\";\n echo \"Creating APP_KEY file...\";\n echo \"${APP_KEY}\" > ${keyfile};\n if [ -f ${keyfile} ];\n then\n echo \"Success!\";\n else\n echo \"Failed.\";\n fi;\nelse\n echo \"APP_KEY File exists. Skipping...\";\nfi;\n"` | |
| installContainers.1-create-key-file.command[0] | string | `"sh"` | |
| installContainers.1-create-key-file.command[1] | string | `"-c"` | |
| installContainers.1-create-key-file.env[0].name | string | `"APP_KEY"` | |
| installContainers.1-create-key-file.env[0].valueFrom.secretKeyRef.key | string | `"APP_KEY"` | |
| installContainers.1-create-key-file.env[0].valueFrom.secretKeyRef.name | string | `"ferdi-server-secrets"` | |
| installContainers.1-create-key-file.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| installContainers.1-create-key-file.volumeMounts[0].mountPath | string | `"/app/data"` | |
| installContainers.1-create-key-file.volumeMounts[0].name | string | `"data"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/app/data"` | |
| persistence.recipes.enabled | bool | `true` | |
| persistence.recipes.mountPath | string | `"/app/recipes"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"ferdi-server"` | |
| postgresql.postgresqlUsername | string | `"ferdi-server"` | |
| probes.liveness.path | string | `"/health"` | |
| probes.readiness.path | string | `"/health"` | |
| probes.startup.path | string | `"/health"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `10206` | |
| service.main.ports.main.targetPort | int | `3333` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,110 @@
image:
repository: getferdi/ferdi-server
tag: 1.3.2@sha256:b94315a20480e8c47f960590279766c8636c53f9deaaa7697499a51028e33dec
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
NODE_ENV: "production"
DATA_DIR: "/app/data"
DB_CONNECTION: "pg"
DB_PORT: "5432"
DB_SSL: false
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
DB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
# User Defined
APP_URL: "http://localhost:3333"
IS_CREATION_ENABLED: true
IS_DASHBOARD_ENABLED: true
IS_REGISTRATION_ENABLED: true
CONNECT_WITH_FRANZ: true
# MAIL_CONNECTION: "smtp"
# SMTP_HOST: "localhost"
# SMTP_PORT: 587
# MAIL_SSL: true
# MAIL_USERNAME: "username@example.com"
# MAIL_PASSWORD: "password"
# MAIL_SENDER: "noreply@example.com"
# SPARKPOST_API_KEY: ""
# MAILGUN_DOMAIN: ""
# MAILGUN_API_REGION: ""
# MAILGUN_API_KEY: ""
envValueFrom:
DB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
probes:
liveness:
path: "/health"
readiness:
path: "/health"
startup:
path: "/health"
service:
main:
ports:
main:
port: 10206
targetPort: 3333
persistence:
data:
enabled: true
mountPath: "/app/data"
recipes:
enabled: true
mountPath: "/app/recipes"
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: ferdi-server
postgresqlDatabase: ferdi-server
installContainers:
1-create-key-file:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
volumeMounts:
- name: data
mountPath: "/app/data"
env:
- name: APP_KEY
valueFrom:
secretKeyRef:
name: ferdi-server-secrets
key: APP_KEY
command: ["sh", "-c"]
args:
- >
keyfile="/app/data/FERDI_APP_KEY.txt";
if [ ! -f ${keyfile} ];
then
echo "No APP_KEY File...";
echo "Creating APP_KEY file...";
echo "${APP_KEY}" > ${keyfile};
if [ -f ${keyfile} ];
then
echo "Success!";
else
echo "Failed.";
fi;
else
echo "APP_KEY File exists. Skipping...";
fi;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "ferdi-server.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: ferdi-server-secrets
{{- $ferdiprevious := lookup "v1" "Secret" .Release.Namespace "ferdi-server-secrets" }}
{{- $app_key := "" }}
data:
{{- if $ferdiprevious}}
APP_KEY: {{ index $ferdiprevious.data "APP_KEY" }}
{{- else }}
{{- $app_key := randAlphaNum 32 }}
APP_KEY: {{ $app_key | b64enc }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render secrets for ferdi-server */}}
{{- include "ferdi-server.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File

View File

@ -0,0 +1,4 @@
icon_url: https://truecharts.org/_static/img/appicons/ferdi-server.png
categories:
- media