Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-09-01 22:15:10 +00:00
parent 129fdcf0dd
commit 9e6019fa3e
16 changed files with 3137 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog
## [wger-1.1.0](https://github.com/truecharts/charts/compare/wger-1.0.0...wger-1.1.0) (2022-09-01)
### Feat
- move to stable ([#3658](https://github.com/truecharts/charts/issues/3658))
## [wger-1.0.0](https://github.com/truecharts/charts/compare/wger-0.0.54...wger-1.0.0) (2022-09-01)
### Chore
- update docker general non-major ([#3649](https://github.com/truecharts/charts/issues/3649))
### Feat
- BREAKING-CHANGE big cleanup - move to configmap ([#3652](https://github.com/truecharts/charts/issues/3652))
## [wger-0.0.54](https://github.com/truecharts/charts/compare/wger-0.0.52...wger-0.0.54) (2022-08-30)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#3639](https://github.com/truecharts/charts/issues/3639))
- update helm chart common to v10.5.5 ([#3626](https://github.com/truecharts/charts/issues/3626))
## [wger-0.0.53](https://github.com/truecharts/charts/compare/wger-0.0.52...wger-0.0.53) (2022-08-30)
### Chore
- update helm chart common to v10.5.5 ([#3626](https://github.com/truecharts/charts/issues/3626))
## [wger-0.0.52](https://github.com/truecharts/charts/compare/wger-0.0.51...wger-0.0.52) (2022-08-30)
### Chore
- update helm general non-major ([#3624](https://github.com/truecharts/charts/issues/3624))
## [wger-0.0.51](https://github.com/truecharts/charts/compare/wger-0.0.49...wger-0.0.51) (2022-08-29)
### Chore
- update helm general non-major ([#3621](https://github.com/truecharts/charts/issues/3621))
- update helm general non-major ([#3619](https://github.com/truecharts/charts/issues/3619))
## [wger-0.0.49](https://github.com/truecharts/charts/compare/wger-0.0.46...wger-0.0.49) (2022-08-27)
### Chore
- update docker general non-major ([#3587](https://github.com/truecharts/charts/issues/3587))
### Fix
- some cleanup ([#3586](https://github.com/truecharts/charts/issues/3586))
## [wger-0.0.46](https://github.com/truecharts/charts/compare/wger-0.0.45...wger-0.0.46) (2022-08-26)
### Chore
- update docker general non-major ([#3573](https://github.com/truecharts/charts/issues/3573))
## [wger-0.0.45](https://github.com/truecharts/charts/compare/wger-0.0.44...wger-0.0.45) (2022-08-25)
### Chore
- update docker general non-major ([#3561](https://github.com/truecharts/charts/issues/3561))
## [wger-0.0.44](https://github.com/truecharts/charts/compare/wger-0.0.43...wger-0.0.44) (2022-08-24)
### Chore

View File

@ -0,0 +1,12 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.6
- name: postgresql
repository: https://charts.truecharts.org/
version: 8.0.69
- name: redis
repository: https://charts.truecharts.org
version: 3.0.67
digest: sha256:1c6ba2cfc84ac5c9cca053fd1d5442cd3f885a349425199967457130aee0eb4a
generated: "2022-09-01T22:08:49.062329895Z"

View File

@ -0,0 +1,35 @@
apiVersion: v2
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.6
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 8.0.69
- condition: redis.enabled
name: redis
repository: https://charts.truecharts.org
version: 3.0.67
description: Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility.
home: https://truecharts.org/docs/charts/stable/wger
icon: https://truecharts.org/img/hotlink-ok/chart-icons/wger.png
keywords:
- workout
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: wger
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/wger
- https://github.com/wger-project/wger
- https://github.com/wger-project/docker
version: 1.1.0
annotations:
truecharts.org/catagories: |
- life
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

111
stable/wger/1.1.0/README.md Normal file
View File

@ -0,0 +1,111 @@
# wger
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility.
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: [wger](https://truecharts.org/docs/charts/stable/wger)
**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/wger>
* <https://github.com/wger-project/wger>
* <https://github.com/wger-project/docker>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 8.0.69 |
| https://charts.truecharts.org | redis | 3.0.67 |
| https://library-charts.truecharts.org | common | 10.5.6 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Installing-an-App).
### Helm
To install the chart with the release name `wger`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install wger TrueCharts/wger
```
## 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/Quick-Start%20Guides/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `wger` deployment
```console
helm uninstall wger
```
## Configuration
### Helm
#### Available Settings
Read through the [values.yaml](./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 wger \
--set env.TZ="America/New York" \
TrueCharts/wger
```
#### 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 wger TrueCharts/wger -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/Quick-Start%20Guides/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/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/docs/about/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,8 @@
Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/stable/wger](https://truecharts.org/docs/charts/stable/wger)
---
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.

Binary file not shown.

View File

@ -0,0 +1,92 @@
image:
repository: tccr.io/truecharts/wger
tag: latest@sha256:f42b5566b0a95fedb417422a67556e5f52b4733385348142dbff525d6f09a066
pullPolicy: IfNotPresent
nginxImage:
repository: tccr.io/truecharts/nginx
tag: v1.23.1@sha256:1620254cd011e2b81361f1f4682fd6cceadf13b07f8e37f322b60407d6d5a766
pullPolicy: IfNotPresent
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-wger-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-wger-configmap'
wger:
general:
# Where the backend will listen. Leave this as is, unless nginx is removed
site_url: "http://localhost:8000"
sync_exercises_on_startup: false
download_exercise_images_on_startup: false
allow_registration: true
allow_guest_users: true
allow_upload_videos: true
exercise_cache_ttl: "3600"
django_perform_migrations: true
django_debug: false
mail:
enable_email: false
from_email: ""
email_host: ""
email_port: 587
email_host_user: "username"
email_host_password: "password"
email_use_tls: false
email_use_ssl: false
captcha:
recaptha_public_key: ""
recaptha_private_key: ""
nocaptcha: true
service:
main:
ports:
main:
port: 10249
persistence:
media:
enabled: true
mountPath: "/home/wger/media"
static:
enabled: true
type: emptyDir
mountPath: "/home/wger/static"
wger-config:
enabled: "true"
noMount: true
readOnly: true
type: "custom"
mountPath: "/etc/nginx/conf.d"
volumeSpec:
configMap:
name: '{{ include "tc.common.names.fullname" . }}-wger-nginx-config'
items:
- key: nginx.conf
path: default.conf
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: wger
postgresqlDatabase: wger
redis:
enabled: true
existingSecret: "rediscreds"
redisUsername: "default"
redisDatabase: "0"
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,84 @@
{{/* Define the configmap */}}
{{- define "wger.configmap" -}}
{{- $configName := printf "%s-wger-configmap" (include "tc.common.names.fullname" .) }}
{{- $nginxConfigName := printf "%s-wger-nginx-config" (include "tc.common.names.fullname" .) }}
---
{{/* This configmap are loaded on both main authentik container and worker */}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{/* Dependencies */}}
DJANGO_DB_ENGINE: "django.db.backends.postgresql"
DJANGO_DB_DATABASE: {{ .Values.postgresql.postgresqlDatabase }}
DJANGO_DB_USER: {{ .Values.postgresql.postgresqlUsername }}
DJANGO_DB_PORT: "5432"
DJANGO_DB_HOST: {{ printf "%v-%v" .Release.Name "postgresql" }}
DJANGO_CACHE_BACKEND: "django_redis.cache.RedisCache"
DJANGO_CACHE_CLIENT_CLASS: "django_redis.client.DefaultClient"
DJANGO_CACHE_TIMEOUT: "1296000"
TIME_ZONE: {{ .Values.TZ | quote }}
{{/* True, not true */}}
WGER_USE_GUNICORN: "True"
{{/* User Defined */}}
{{/* General */}}
{{- with .Values.wger.general.site_url }}
SITE_URL: {{ . | quote }}
{{- end }}
{{- with .Values.wger.general.exercise_cache_ttl }}
EXERCISE_CACHE_TTL: {{ . | quote }}
{{- end }}
ALLOW_REGISTRATION: {{ ternary "True" "False" .Values.wger.general.allow_registration | squote }}
ALLOW_GUEST_USERS: {{ ternary "True" "False" .Values.wger.general.allow_guest_users | squote }}
ALLOW_UPLOAD_VIDEOS: {{ ternary "True" "False" .Values.wger.general.allow_upload_videos | squote }}
SYNC_EXERCISES_ON_STARTUP: {{ ternary "True" "False" .Values.wger.general.sync_exercises_on_startup | squote }}
DOWNLOAD_EXERCISE_IMAGES_ON_STARTUP: {{ ternary "True" "False" .Values.wger.general.download_exercise_images_on_startup | squote }}
DJANGO_PERFORM_MIGRATIONS: {{ ternary "True" "False" .Values.wger.general.django_perform_migrations | squote }}
DJANGO_DEBUG: {{ ternary "True" "False" .Values.wger.general.django_debug | squote }}
{{/* Captcha */}}
NOCAPTCHA: {{ ternary "True" "False" .Values.wger.captcha.nocaptcha | squote }}
{{/* Mail */}}
{{- if .Values.wger.mail.enable_email }}
{{/* Any value is considered true */}}
ENABLE_EMAIL: "True"
{{- end }}
FROM_EMAIL: {{ .Values.wger.mail.from_email | quote }}
EMAIL_HOST: {{ .Values.wger.mail.email_host | quote }}
EMAIL_PORT: {{ .Values.wger.mail.email_port | quote }}
EMAIL_USE_TLS: {{ ternary "True" "False" .Values.wger.mail.email_use_tls | squote }}
EMAIL_USE_SSL: {{ ternary "True" "False" .Values.wger.mail.email_use_ssl | squote }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $nginxConfigName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
nginx.conf: |-
upstream wger {
server localhost:8000;
}
server {
listen {{ .Values.service.main.ports.main.port }};
location / {
proxy_pass http://localhost:8000;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /static/ {
alias /static/;
}
location /media/ {
alias /media/;
}
# Increase max body size to allow for video uploads
client_max_body_size 100M;
}
{{- end }}

View File

@ -0,0 +1,22 @@
{{/* Define the nginx container */}}
{{- define "wger.nginx" -}}
image: {{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}
imagePullPolicy: {{ .Values.nginxImage.pullPolicy }}
ports:
- containerPort: {{ .Values.service.main.ports.main.port }}
name: main
securityContext:
runAsUser: 0
runAsGroup: 1000
readOnlyRootFilesystem: false
runAsNonRoot: false
volumeMounts:
- name: wger-config
mountPath: "/etc/nginx/conf.d/default.conf"
subPath: default.conf
readOnly: true
- name: media
mountPath: "/media"
- name: static
mountPath: "/static"
{{- end -}}

View File

@ -0,0 +1,31 @@
{{/* Define the secrets */}}
{{- define "wger.secrets" -}}
{{- $secretName := printf "%s-wger-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
data:
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
SECRET_KEY: {{ index .data "SECRET_KEY" }}
{{- else }}
SECRET_KEY: {{ randAlphaNum 32 | b64enc }}
{{- end }}
{{- $redisPass := .Values.redis.redisPassword | trimAll "\"" }}
DJANGO_CACHE_LOCATION: {{ printf "redis://%v:%v@%v-redis/%v" .Values.redis.redisUsername $redisPass .Release.Name .Values.redis.redisDatabase | b64enc }}
DJANGO_DB_PASSWORD: {{ .Values.postgresql.postgresqlPassword | trimAll "\"" | b64enc }}
EMAIL_HOST_USER: {{ .Values.wger.mail.email_host_user | b64enc }}
EMAIL_HOST_PASSWORD: {{ .Values.wger.mail.email_host_password | b64enc }}
{{- with .Values.wger.captcha.recaptha_public_key }}
RECAPTCHA_PUBLIC_KEY: {{ . | b64enc }}
{{- end }}
{{- with .Values.wger.captcha.recaptha_private_key }}
RECAPTCHA_PRIVATE_KEY: {{ . | b64enc }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,12 @@
{{- include "tc.common.loader.init" . }}
{{/* Render secrets for wger */}}
{{- include "wger.secrets" . }}
{{/* Render configmap for wger */}}
{{- include "wger.configmap" . }}
{{- $_ := set .Values.additionalContainers "nginx" (include "wger.nginx" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

4
stable/wger/item.yaml Normal file
View File

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