Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2021-12-18 22:50:23 +00:00
parent d9c4f75b6f
commit 2e9ea916f7
16 changed files with 2919 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog<br>
<a name="recipes-5.0.0"></a>
### [recipes-5.0.0](https://github.com/truecharts/apps/compare/recipes-4.0.18...recipes-5.0.0) (2021-12-18)
#### Feat
* move `SECRET_KEY` to autogenerated remembered secret ([#1559](https://github.com/truecharts/apps/issues/1559))
<a name="recipes-4.0.18"></a>
### [recipes-4.0.18](https://github.com/truecharts/apps/compare/recipes-4.0.17...recipes-4.0.18) (2021-12-18)
#### Chore
* cleanup questions by removing hidden dicts ([#1558](https://github.com/truecharts/apps/issues/1558))
* App-Icon Organization ([#1539](https://github.com/truecharts/apps/issues/1539))
<a name="recipes-4.0.17"></a>
### [recipes-4.0.17](https://github.com/truecharts/apps/compare/recipes-4.0.16...recipes-4.0.17) (2021-12-14)
#### Chore
* update helm general non-major helm releases ([#1535](https://github.com/truecharts/apps/issues/1535))
<a name="recipes-4.0.16"></a>
### [recipes-4.0.16](https://github.com/truecharts/apps/compare/recipes-4.0.15...recipes-4.0.16) (2021-12-13)
#### Chore
* move incubator apps to stable and bump everything
<a name="recipes-4.0.15"></a>
### [recipes-4.0.15](https://github.com/truecharts/apps/compare/recipes-4.0.14...recipes-4.0.15) (2021-12-11)
#### Chore
* update general helm non-major helm releases ([#1509](https://github.com/truecharts/apps/issues/1509))
<a name="recipes-4.0.14"></a>
### [recipes-4.0.14](https://github.com/truecharts/apps/compare/recipes-4.0.13...recipes-4.0.14) (2021-12-07)
#### Chore
* update non-major deps helm releases ([#1481](https://github.com/truecharts/apps/issues/1481))
<a name="recipes-4.0.13"></a>
### recipes-4.0.13 (2021-12-05)
#### Chore
* bump apps to generate security page
* correct some wrong container references again
* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448))
* ensure container references are prefixed with v
* update non-major deps helm releases ([#1453](https://github.com/truecharts/apps/issues/1453))
* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449))
* update non-major deps helm releases ([#1471](https://github.com/truecharts/apps/issues/1471))
* update non-major deps helm releases ([#1468](https://github.com/truecharts/apps/issues/1468))
* update non-major deps helm releases ([#1432](https://github.com/truecharts/apps/issues/1432))
#### Fix
* fix typo in theme selection ([#1428](https://github.com/truecharts/apps/issues/1428))
<a name="recipes-4.0.12"></a>
### [recipes-4.0.12](https://github.com/truecharts/apps/compare/recipes-4.0.11...recipes-4.0.12) (2021-12-05)
#### Chore
* update non-major deps helm releases ([#1468](https://github.com/truecharts/apps/issues/1468))
<a name="recipes-4.0.11"></a>
### [recipes-4.0.11](https://github.com/truecharts/apps/compare/recipes-4.0.10...recipes-4.0.11) (2021-12-04)
#### Chore
* bump apps to generate security page
<a name="recipes-4.0.10"></a>
### [recipes-4.0.10](https://github.com/truecharts/apps/compare/recipes-4.0.9...recipes-4.0.10) (2021-12-04)

View File

@ -0,0 +1,8 @@
# 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" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### 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://truecharts.org
version: 8.9.21
- name: postgresql
repository: https://truecharts.org/
version: 6.0.31
digest: sha256:80e513d2ac68eb52a019c1af28bc6410f932f5f38239ffff58a9e209b9464178
generated: "2021-12-18T22:47:01.44386352Z"

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "1.0.2"
description: Recipes is a Django application to manage, tag and search recipes using either built in models or external storage providers hosting PDF's, Images or other files.
name: recipes
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- recipes
- cooking
home: https://github.com/truecharts/apps/tree/master/charts/stable/recipes
icon: https://truecharts.org/_static/img/appicons/recipes-icon.png
sources:
- https://github.com/vabene1111/recipes
- https://hub.docker.com/r/vabene1111/recipes
dependencies:
- name: common
repository: https://truecharts.org
version: 8.9.21
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.31
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,39 @@
# Introduction
Recipes is a Django application to manage, tag and search recipes using either built in models or external storage providers hosting PDF's, Images or other files.
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/vabene1111/recipes>
* <https://hub.docker.com/r/vabene1111/recipes>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | postgresql | 6.0.31 |
| https://truecharts.org | common | 8.9.21 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) 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 @@
Recipes is a Django application to manage, tag and search recipes using either built in models or external storage providers hosting PDF's, Images or other files.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,54 @@
# 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 |
|-----|------|---------|-------------|
| additionalContainers.nginx.image | string | `"{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"` | |
| additionalContainers.nginx.name | string | `"nginx"` | |
| additionalContainers.nginx.ports[0].containerPort | int | `80` | |
| additionalContainers.nginx.ports[0].name | string | `"main"` | |
| additionalContainers.nginx.volumeMounts[0].mountPath | string | `"/etc/nginx/nginx.conf"` | |
| additionalContainers.nginx.volumeMounts[0].name | string | `"recipes-config"` | |
| additionalContainers.nginx.volumeMounts[0].readOnly | bool | `true` | |
| additionalContainers.nginx.volumeMounts[0].subPath | string | `"nginx-config"` | |
| additionalContainers.nginx.volumeMounts[1].mountPath | string | `"/media"` | |
| additionalContainers.nginx.volumeMounts[1].name | string | `"media"` | |
| additionalContainers.nginx.volumeMounts[2].mountPath | string | `"/static"` | |
| additionalContainers.nginx.volumeMounts[2].name | string | `"static"` | |
| env | object | See below | environment variables. See [project docs](https://raw.githubusercontent.com/vabene1111/recipes/master/.env.template) for more details. |
| envTpl.DB_ENGINE | string | `"django.db.backends.postgresql"` | |
| envTpl.POSTGRES_DB | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| envTpl.POSTGRES_PORT | string | `"5432"` | |
| envTpl.POSTGRES_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| envTpl.TIMEZONE | string | `"{{ .Values.env.TZ }}"` | |
| envValueFrom.POSTGRES_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.POSTGRES_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.SECRET_KEY.secretKeyRef.key | string | `"SECRET_KEY"` | |
| envValueFrom.SECRET_KEY.secretKeyRef.name | string | `"recipes-secrets"` | |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"tccr.io/truecharts/recipes"` | image repository |
| image.tag | string | `"v1.0.2@sha256:d61f230769c64948f1b2c56ec189666bb08821b02f383f4e0c299c35d2542cbc"` | image tag |
| nginxImage.repository | string | `"tccr.io/truecharts/nginx"` | nginx sidecar image repository |
| nginxImage.tag | string | `"v1.21.4@sha256:81b9486bd8b0f8c9d933013a4b4a6267463625e0dcc756c01ec766ba386f6c93"` | nginx sidecar image tag |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"recipes"` | |
| postgresql.postgresqlUsername | string | `"recipes"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service | object | See values.yaml | Configures service settings for the chart. |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,96 @@
image:
# -- image repository
repository: tccr.io/truecharts/recipes
# -- image tag
tag: v1.0.2@sha256:d61f230769c64948f1b2c56ec189666bb08821b02f383f4e0c299c35d2542cbc
# -- image pull policy
pullPolicy: IfNotPresent
nginxImage:
# -- nginx sidecar image repository
repository: tccr.io/truecharts/nginx
# -- nginx sidecar image tag
tag: v1.21.4@sha256:81b9486bd8b0f8c9d933013a4b4a6267463625e0dcc756c01ec766ba386f6c93
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
# -- environment variables. See [project docs](https://raw.githubusercontent.com/vabene1111/recipes/master/.env.template) for more details.
# @default -- See below
env:
DEBUG: 0
ALLOWED_HOSTS: "*"
GUNICORN_MEDIA: 0
FRACTION_PREF_DEFAULT: 0
COMMENT_PREF_DEFAULT: 1
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
envTpl:
TIMEZONE: "{{ .Values.env.TZ }}"
DB_ENGINE: "django.db.backends.postgresql"
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
POSTGRES_PORT: "5432"
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
SECRET_KEY:
secretKeyRef:
name: recipes-secrets
key: SECRET_KEY
additionalContainers:
nginx:
name: nginx
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
ports:
- containerPort: 80
name: main
volumeMounts:
- name: recipes-config
mountPath: "/etc/nginx/nginx.conf"
subPath: nginx-config
readOnly: true
- name: media
mountPath: "/media"
- name: static
mountPath: "/static"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
main:
port: 10029
targetPort: 80
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
media:
enabled: true
mountPath: "/opt/recipes/mediafiles"
static:
enabled: true
type: emptyDir
mountPath: "/opt/recipes/staticfiles"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: recipes
postgresqlDatabase: recipes

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 "recipes.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: recipes-secrets
{{- $recipesprevious := lookup "v1" "Secret" .Release.Namespace "recipes-secrets" }}
{{- $secret_key := "" }}
data:
{{- if $recipesprevious}}
SECRET_KEY: {{ index $recipesprevious.data "SECRET_KEY" }}
{{- else }}
{{- $secret_key := randAlphaNum 50 }}
SECRET_KEY: {{ $secret_key | b64enc | quote }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,21 @@
{{- include "common.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "recipes.harcodedValues" -}}
persistence:
recipes-config:
enabled: "true"
mountPath: "/app/config.json"
subPath: "config.json"
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "recipes.harcodedValues" . | fromYaml) -}}
{{/* Render secrets for recipes */}}
{{- include "recipes.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File

@ -0,0 +1,33 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-config
labels:
{{- include "common.labels" . | nindent 4 }}
data:
nginx-config: |-
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
server {
listen 80;
server_name _;
client_max_body_size 16M;
# serve media files
location /media/ {
alias /media/;
}
# serve static files
location /static/ {
alias /static/;
}
# pass requests for dynamic content to gunicorn
location / {
proxy_set_header Host $host;
proxy_pass http://localhost:8080;
}
}
}

View File