Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-09-23 23:30:43 +00:00
parent e98b3dd27b
commit ae55c9a3b0
14 changed files with 3547 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog
## [mealie-10.0.0](https://github.com/truecharts/charts/compare/mealie-9.0.3...mealie-10.0.0) (2022-09-23)
### Chore
- Auto-update chart README [skip ci]
### Feat
- Adapt to the new multi container upstream release ([#3858](https://github.com/truecharts/charts/issues/3858))
## [mealie-9.0.3](https://github.com/truecharts/charts/compare/mealie-9.0.2...mealie-9.0.3) (2022-09-22)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- refactor Services SCALE GUI
- update helm general non-major ([#3767](https://github.com/truecharts/charts/issues/3767))
- split serviceSelector ([#3751](https://github.com/truecharts/charts/issues/3751))
## [mealie-9.0.3](https://github.com/truecharts/charts/compare/mealie-9.0.2...mealie-9.0.3) (2022-09-21)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- refactor Services SCALE GUI
- update helm general non-major ([#3767](https://github.com/truecharts/charts/issues/3767))
- split serviceSelector ([#3751](https://github.com/truecharts/charts/issues/3751))
## [mealie-9.0.3](https://github.com/truecharts/charts/compare/mealie-9.0.2...mealie-9.0.3) (2022-09-21)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- refactor Services SCALE GUI
- update helm general non-major ([#3767](https://github.com/truecharts/charts/issues/3767))
- split serviceSelector ([#3751](https://github.com/truecharts/charts/issues/3751))
## [mealie-9.0.3](https://github.com/truecharts/charts/compare/mealie-9.0.2...mealie-9.0.3) (2022-09-20)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]

View File

@ -0,0 +1,9 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.10
- name: postgresql
repository: https://charts.truecharts.org/
version: 8.0.78
digest: sha256:5f90f3b1700a44f84fb7bf8b1c844455aa921e7c3e7d188e5b64e38c51429266
generated: "2022-09-23T23:29:00.750566168Z"

View File

@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "1.0.0beta"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.10
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 8.0.78
description: Mealie is a self hosted recipe manager and meal planner with a RestAPI backend
home: https://truecharts.org/docs/charts/stable/mealie
icon: https://truecharts.org/img/hotlink-ok/chart-icons/mealie.png
keywords:
- grocy
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: mealie
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/mealie
- https://github.com/hay-kot/mealie
version: 10.0.0
annotations:
truecharts.org/catagories: |
- utilities
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,107 @@
# mealie
Mealie is a self hosted recipe manager and meal planner with a RestAPI backend
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [mealie](https://truecharts.org/docs/charts/stable/mealie)
**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)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/stable/mealie>
* <https://github.com/hay-kot/mealie>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 8.0.78 |
| https://library-charts.truecharts.org | common | 10.5.10 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `mealie`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install mealie TrueCharts/mealie
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `mealie` deployment
```console
helm uninstall mealie
```
## Configuration
### Helm
#### Available Settings
Read through the values.yaml file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install mealie \
--set env.TZ="America/New York" \
TrueCharts/mealie
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install mealie TrueCharts/mealie -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/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

View File

@ -0,0 +1,8 @@
Mealie is a self hosted recipe manager and meal planner with a RestAPI backend
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/stable/mealie](https://truecharts.org/docs/charts/stable/mealie)
---
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.

Binary file not shown.

View File

@ -0,0 +1,112 @@
image:
repository: tccr.io/truecharts/mealie-frontend
tag: v1.0.0beta@sha256:be031b8c1c6a1698f18e7750a1482ca85f6c311bbb594cf8da46d0e206b0729a
pullPolicy: IfNotPresent
apiImage:
repository: tccr.io/truecharts/mealie-api
tag: v1.0.0beta@sha256:4dad1521060d896c2e4782f57ca48007e831b2df497746637eb8f2d6a4a23c90
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
mealie_frontend:
theme:
light_primary: "#E58325"
light_accent: "#007A99"
light_secondary: "#973542"
light_success: "#43A047"
light_info: "#1976D2"
light_warning: "#FF6D00"
light_error: "#EF5350"
dark_primary: "#E58325"
dark_accent: "#007A99"
dark_secondary: "#973542"
dark_success: "#43A047"
dark_info: "#1976D2"
dark_warning: "#FF6D00"
dark_error: "#EF5350"
mealie_backend:
general:
allow_signup: true
default_group: Home
default_email: changeme@email.com
base_url: ""
token_time: 48
security:
max_login_attempts: 5
user_lockout_time: 24
webworkers:
workers_per_core: 1
max_workers: 1
web_concurrency: 1
smtp:
user: ""
password: ""
host: ""
port: 587
from_name: Mealie
from_email: ""
# TLS | SSL | NONE
auth_strategy: TLS
ldap:
auth_enabled: false
server_url: ""
tls_insecure: false
tls_cacertfile: ""
bind_template: ""
base_dn: ""
admin_filter: ""
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-frontend-config'
probes:
liveness:
type: HTTP
path: "/"
readiness:
type: HTTP
path: "/"
startup:
type: HTTP
path: "/"
service:
main:
ports:
main:
port: 10018
protocol: HTTP
targetPort: 3000
api:
enabled: true
type: ClusterIP
ports:
api:
enabled: true
protocol: HTTP
port: 10019
targetPort: 9000
persistence:
data:
enabled: true
mountPath: "/app/data"
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: mealie
postgresqlDatabase: mealie
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,44 @@
{{- define "mealie.api" -}}
image: {{ .Values.apiImage.repository }}:{{ .Values.apiImage.tag }}
imagePullPolicy: {{ .Values.apiImage.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" . }}-api-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-api-config'
volumeMounts:
- name: data
mountPath: "/app/data"
readinessProbe:
httpGet:
path: /docs
port: {{ .Values.service.api.ports.api.targetPort }}
{{/* port: {{ .Values.service.api.ports.api.targetPort }} */}}
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
livenessProbe:
httpGet:
path: /docs
port: {{ .Values.service.api.ports.api.targetPort }}
{{/* port: {{ .Values.service.api.ports.api.targetPort }} */}}
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
startupProbe:
httpGet:
path: /docs
port: {{ .Values.service.api.ports.api.targetPort }}
{{/* port: {{ .Values.service.api.ports.api.targetPort }} */}}
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
{{- end -}}

View File

@ -0,0 +1,135 @@
{{/* Define the configmap */}}
{{- define "mealie.config" -}}
{{- $frontendConfigName := printf "%s-frontend-config" (include "tc.common.names.fullname" .) }}
{{- $apiConfigName := printf "%s-api-config" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $frontendConfigName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
API_URL: http://localhost:{{ .Values.service.api.ports.api.targetPort }}
{{/* https://github.com/hay-kot/mealie/issues/1666 */}}
{{/* API_URL: http://localhost:{{ .Values.service.api.ports.api.port }} */}}
THEME_LIGHT_PRIMARY: {{ .Values.mealie_frontend.theme.light_primary | default "#E58325" | quote }}
THEME_LIGHT_ACCENT: {{ .Values.mealie_frontend.theme.light_accent | default "#007A99" | quote }}
THEME_LIGHT_SECONDARY: {{ .Values.mealie_frontend.theme.light_secondary | default "#973542" | quote }}
THEME_LIGHT_SUCCESS: {{ .Values.mealie_frontend.theme.light_success | default "#43A047" | quote }}
THEME_LIGHT_INFO: {{ .Values.mealie_frontend.theme.light_info | default "#1976D2" | quote }}
THEME_LIGHT_WARNING: {{ .Values.mealie_frontend.theme.light_warning | default "#FF6D00" | quote }}
THEME_LIGHT_ERROR: {{ .Values.mealie_frontend.theme.light_error | default "#EF5350" | quote }}
THEME_DARK_PRIMARY: {{ .Values.mealie_frontend.theme.dark_primary | default "#E58325" | quote }}
THEME_DARK_ACCENT: {{ .Values.mealie_frontend.theme.dark_accent | default "#007A99" | quote }}
THEME_DARK_SECONDARY: {{ .Values.mealie_frontend.theme.dark_secondary | default "#973542" | quote }}
THEME_DARK_SUCCESS: {{ .Values.mealie_frontend.theme.dark_success | default "#43A047" | quote }}
THEME_DARK_INFO: {{ .Values.mealie_frontend.theme.dark_info | default "#1976D2" | quote }}
THEME_DARK_WARNING: {{ .Values.mealie_frontend.theme.dark_warning | default "#FF6D00" | quote }}
THEME_DARK_ERROR: {{ .Values.mealie_frontend.theme.dark_error | default "#EF5350" | quote }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $apiConfigName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
PUID: {{ .Values.security.PUID | quote }}
PGID: {{ .Values.podSecurityContext.fsGroup | quote }}
TZ: {{ .Values.TZ }}
DB_ENGINE: "postgres"
POSTGRES_PORT: "5432"
POSTGRES_USER: {{ .Values.postgresql.postgresqlUsername }}
POSTGRES_DB: {{ .Values.postgresql.postgresqlDatabase }}
POSTGRES_SERVER: {{ printf "%v-%v" .Release.Name "postgresql" }}
API_PORT: {{ .Values.service.api.ports.api.targetPort | quote }}
{{/* https://github.com/hay-kot/mealie/issues/1666 */}}
{{/* API_PORT: {{ .Values.service.api.ports.api.port | quote }} */}}
{{/* User Defined */}}
{{/* General */}}
ALLOW_SIGNUP: {{ .Values.mealie_backend.general.allow_signup | quote }}
API_DOCS: "true"
{{- with .Values.mealie_backend.general.default_group }}
DEFAULT_GROUP: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.general.default_email }}
DEFAULT_EMAIL: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.general.base_url }}
BASE_URL: {{ . }}
{{- end }}
{{- if hasKey .Values.mealie_backend.general "token_time" }}
{{- if or .Values.mealie_backend.general.token_time (eq 0 (int .Values.mealie_backend.general.token_time)) }}
TOKEN_TIME: {{ .Values.mealie_backend.general.token_time | quote }}
{{- end }}
{{- end }}
{{/* Security */}}
{{- if hasKey .Values.mealie_backend.security "max_login_attempts" }}
{{- if or .Values.mealie_backend.security.max_login_attempts (eq 0 (int .Values.mealie_backend.security.max_login_attempts)) }}
SECURITY_MAX_LOGIN_ATTEMPTS: {{ .Values.mealie_backend.security.max_login_attempts | quote }}
{{- end }}
{{- end }}
{{- if hasKey .Values.mealie_backend.security "user_lockout_time" }}
{{- if or .Values.mealie_backend.security.user_lockout_time (eq 0 (int .Values.mealie_backend.security.user_lockout_time)) }}
SECURITY_USER_LOCKOUT_TIME: {{ .Values.mealie_backend.security.user_lockout_time | quote }}
{{- end }}
{{- end }}
{{/* Security */}}
{{- if hasKey .Values.mealie_backend.webworkers "workers_per_core" }}
{{- if or .Values.mealie_backend.webworkers.workers_per_core (eq 0 (int .Values.mealie_backend.webworkers.workers_per_core)) }}
WORKERS_PER_CORE: {{ .Values.mealie_backend.webworkers.workers_per_core | quote }}
{{- end }}
{{- end }}
{{- if hasKey .Values.mealie_backend.webworkers "max_workers" }}
{{- if or .Values.mealie_backend.webworkers.max_workers (eq 0 (int .Values.mealie_backend.webworkers.max_workers)) }}
MAX_WORKERS: {{ .Values.mealie_backend.webworkers.max_workers | quote }}
{{- end }}
{{- end }}
{{- if hasKey .Values.mealie_backend.webworkers "web_concurrency" }}
{{- if or .Values.mealie_backend.webworkers.web_concurrency (eq 0 (int .Values.mealie_backend.webworkers.web_concurrency)) }}
WEB_CONCURRENCY: {{ .Values.mealie_backend.webworkers.web_concurrency | quote }}
{{- end }}
{{- end }}
{{/* SMTP */}}
{{- if hasKey .Values.mealie_backend.smtp "port" }}
{{- if or .Values.mealie_backend.smtp.port (eq 0 (int .Values.mealie_backend.smtp.port)) }}
SMTP_PORT: {{ .Values.mealie_backend.smtp.port | quote }}
{{- end }}
{{- end }}
{{- with .Values.mealie_backend.smtp.host }}
SMTP_HOST: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.smtp.from_name }}
SMTP_FROM_NAME: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.smtp.auth_strategy }}
SMTP_AUTH_STRATEGY: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.smtp.from_email }}
SMTP_FROM_EMAIL: {{ . }}
{{- end }}
{{/* SMTP */}}
LDAP_AUTH_ENABLED: {{ .Values.mealie_backend.ldap.auth_enabled | quote }}
LDAP_TLS_INSECURE: {{ .Values.mealie_backend.ldap.tls_insecure | quote }}
{{- with .Values.mealie_backend.ldap.server_url }}
LDAP_SERVER_URL: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.ldap.tls_cacertfile }}
LDAP_TLS_CACERTFILE: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.ldap.bind_template }}
LDAP_BIND_TEMPLATE: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.ldap.base_dn }}
LDAP_BASE_DN: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.ldap.admin_filter }}
LDAP_ADMIN_FILTER: {{ . }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,24 @@
{{/* Define the secret */}}
{{- define "mealie.secret" -}}
{{- $apiSecretName := printf "%s-api-secret" (include "tc.common.names.fullname" .) }}
---
{{/* This secrets are loaded on both main authentik container and worker */}}
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $apiSecretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
POSTGRES_PASSWORD: {{ .Values.postgresql.postgresqlPassword | trimAll "\"" | b64enc }}
{{- with .Values.mealie_backend.smtp.user | b64enc }}
SMTP_USER: {{ . }}
{{- end }}
{{- with .Values.mealie_backend.smtp.password | b64enc }}
SMTP_PASSWORD: {{ . }}
{{- end }}
{{- end }}

View File

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

View File