feat(tandoor-recipes): move to stable

This commit is contained in:
Stavros Kois
2024-01-04 14:28:28 +02:00
committed by GitHub
parent ce92332e69
commit 741122d475
9 changed files with 4 additions and 4 deletions
-30
View File
@@ -1,30 +0,0 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png
File diff suppressed because it is too large Load Diff
-37
View File
@@ -1,37 +0,0 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: tandoor-recipes
version: 14.0.0
appVersion: 1.5.10
description: Tandoor 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.
home: https://truecharts.org/charts/incubator/tandoor-recipes
icon: https://truecharts.org/img/hotlink-ok/chart-icons/tandoor-recipes.png
deprecated: false
sources:
- https://github.com/vabene1111/recipes
- https://github.com/truecharts/charts/tree/master/charts/incubator/tandoor-recipes
maintainers:
- name: TrueCharts
email: info@truecharts.org
url: https://truecharts.org
keywords:
- tandoor
- recipes
- cooking
dependencies:
- name: common
version: 17.2.21
repository: oci://tccr.io/truecharts
condition: ""
alias: ""
tags: []
import-values: []
annotations:
max_scale_version: 23.10.2
min_scale_version: 23.10.0
truecharts.org/SCALE-support: "true"
truecharts.org/category: media
truecharts.org/max_helm_version: "3.13"
truecharts.org/min_helm_version: "3.12"
truecharts.org/train: incubator
type: application
-28
View File
@@ -1,28 +0,0 @@
---
title: README
---
## General Info
TrueCharts can be installed as both _normal_ Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/unstable/recipes)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
_All Rights Reserved - The TrueCharts Project_
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

-134
View File
@@ -1,134 +0,0 @@
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: DEBUG
label: "DEBUG"
description: "Only set this to true when testing/debugging"
schema:
type: int
default: 0
- variable: ALLOWED_HOSTS
label: "ALLOWED_HOSTS"
description: "hosts the application can run under e.g. recipes.mydomain.com,cooking.mydomain.com,..."
schema:
type: string
default: "*"
- variable: CSRF_TRUSTED_ORIGINS
label: "CSRF_TRUSTED_ORIGINS"
description: "Cross Site Request Forgery protection"
schema:
type: string
default: ""
- variable: FRACTION_PREF_DEFAULT
label: "FRACTION_PREF_DEFAULT"
description: "The default value for the user preference 'fractions' (enable/disable fraction support)"
schema:
type: int
default: 0
- variable: COMMENT_PREF_DEFAULT
label: "COMMENT_PREF_DEFAULT"
description: "The default value for the user preference 'comments' (enable/disable commenting system)"
schema:
type: int
default: 1
- variable: SHOPPING_MIN_AUTOSYNC_INTERVAL
label: "SHOPPING_MIN_AUTOSYNC_INTERVAL"
description: "Users can set an amount of time after which the shopping list is refreshed"
schema:
type: int
default: 5
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10029
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: media
label: "App Media Storage"
description: "Stores the Application media."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{postgresql}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
@@ -1,11 +0,0 @@
{{/* Define the secrets */}}
{{- define "recipes.secrets" -}}
{{- $secretName := (printf "%s-recipes-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }}
{{- $secretKey := randAlphaNum 50 -}}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
{{- $secretKey = index .data "SECRET_KEY" | b64dec -}}
{{- end }}
enabled: true
data:
SECRET_KEY: {{ $secretKey }}
{{- end -}}
@@ -1,10 +0,0 @@
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for recipes */}}
{{- $secrets := include "recipes.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "recipes-secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}
-62
View File
@@ -1,62 +0,0 @@
image:
repository: vabene1111/recipes
pullPolicy: IfNotPresent
tag: 1.5.10@sha256:07fe5a05de3a8a746b4bfe778f9c7a5ec80a0710123d5067efec5c4dc6d807cb
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsGroup: 0
runAsUser: 0
workload:
main:
podSpec:
containers:
main:
env:
DB_ENGINE: django.db.backends.postgresql
POSTGRES_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
POSTGRES_PORT: 5432
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
POSTGRES_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
POSTGRES_DB: "{{ .Values.cnpg.main.database }}"
TANDOOR_PORT: "{{ .Values.service.main.ports.main.port }}"
ALLOWED_HOSTS: "*"
COMMENT_PREF_DEFAULT: 1
CSRF_TRUSTED_ORIGINS: ""
DEBUG: 0
FRACTION_PREF_DEFAULT: 0
GUNICORN_MEDIA: 1
SECRET_KEY:
secretKeyRef:
key: SECRET_KEY
name: recipes-secrets
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
TIMEZONE: "{{ .Values.TZ }}"
service:
main:
ports:
main:
port: 10029
persistence:
media:
enabled: true
mountPath: /opt/recipes/mediafiles
static:
enabled: true
mountPath: /opt/recipes/staticfiles
type: emptyDir
cnpg:
main:
enabled: true
user: recipes
database: recipes
portal:
open:
enabled: true