feat(apps): move to stable (#3687)

* feat(apps): move to stable

* feat(filerun): move to stable
This commit is contained in:
Stavros Kois
2022-09-04 15:45:18 +03:00
committed by GitHub
parent 5799777a5b
commit 2d72c5cda2
26 changed files with 25 additions and 19 deletions
+30
View File
@@ -0,0 +1,30 @@
# 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
+112
View File
@@ -0,0 +1,112 @@
# Changelog
## [kitchenowl-0.0.13](https://github.com/truecharts/charts/compare/kitchenowl-0.0.11...kitchenowl-0.0.13) (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))
## [kitchenowl-0.0.12](https://github.com/truecharts/charts/compare/kitchenowl-0.0.11...kitchenowl-0.0.12) (2022-08-30)
### Chore
- update helm chart common to v10.5.5 ([#3626](https://github.com/truecharts/charts/issues/3626))
## [kitchenowl-0.0.11](https://github.com/truecharts/charts/compare/kitchenowl-0.0.10...kitchenowl-0.0.11) (2022-08-29)
### Chore
- update helm general non-major ([#3619](https://github.com/truecharts/charts/issues/3619))
## [kitchenowl-0.0.10](https://github.com/truecharts/charts/compare/kitchenowl-0.0.8...kitchenowl-0.0.10) (2022-08-26)
### Fix
- some cleanup ([#3586](https://github.com/truecharts/charts/issues/3586))
## [kitchenowl-0.0.8](https://github.com/truecharts/charts/compare/kitchenowl-0.0.7...kitchenowl-0.0.8) (2022-08-23)
### Chore
- update helm general non-major helm releases ([#3545](https://github.com/truecharts/charts/issues/3545))
## [kitchenowl-0.0.7](https://github.com/truecharts/charts/compare/kitchenowl-0.0.6...kitchenowl-0.0.7) (2022-08-12)
### Chore
- add documentation checkbox/section to all SCALE Apps
- update helm general non-major helm releases ([#3456](https://github.com/truecharts/charts/issues/3456))
### Fix
- move extraArgs from .Values.controller to .Values ([#3447](https://github.com/truecharts/charts/issues/3447))
## [kitchenowl-0.0.6](https://github.com/truecharts/charts/compare/kitchenowl-0.0.5...kitchenowl-0.0.6) (2022-08-10)
### Chore
- update docker general non-major ([#3421](https://github.com/truecharts/charts/issues/3421))
## [kitchenowl-0.0.5](https://github.com/truecharts/charts/compare/kitchenowl-0.0.4...kitchenowl-0.0.5) (2022-08-09)
### Chore
- update docker general non-major ([#3377](https://github.com/truecharts/charts/issues/3377))
## [kitchenowl-0.0.4](https://github.com/truecharts/charts/compare/kitchenowl-0.0.2...kitchenowl-0.0.4) (2022-08-08)
### Chore
- update helm general non-major helm releases ([#3376](https://github.com/truecharts/charts/issues/3376))
- update docker general non-major ([#3356](https://github.com/truecharts/charts/issues/3356))
- replace questions parts with templates ([#3402](https://github.com/truecharts/charts/issues/3402))
## [kitchenowl-0.0.2](https://github.com/truecharts/apps/compare/kitchenowl-0.0.1...kitchenowl-0.0.2) (2022-08-01)
### Chore
- Auto-update chart README [skip ci]
### Fix
- Specify FRONT_URL env var ([#3371](https://github.com/truecharts/apps/issues/3371))
## [kitchenowl-0.0.1]kitchenowl-0.0.1 (2022-07-30)
### Feat
- add kitchenowl ([#3353](https://github.com/truecharts/apps/issues/3353))
+30
View File
@@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "beta"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.6
deprecated: false
description: KitchenOwl is a smart self-hosted grocery list and recipe manager.
home: https://truecharts.org/docs/charts/incubator/kitchenowl
icon: https://truecharts.org/img/hotlink-ok/chart-icons/kitchenowl.png
keywords:
- recipes
- kitchen
- grocery
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: kitchenowl
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/kitchenowl
- https://tombursch.github.io/kitchenowl
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- utilities
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+108
View File
@@ -0,0 +1,108 @@
# kitchenowl
![Version: 0.0.13](https://img.shields.io/badge/Version-0.0.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: beta](https://img.shields.io/badge/AppVersion-beta-informational?style=flat-square)
KitchenOwl is a smart self-hosted grocery list and recipe manager.
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: [kitchenowl](https://truecharts.org/docs/charts/incubator/kitchenowl)
**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/incubator/kitchenowl>
* <https://tombursch.github.io/kitchenowl>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| 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 `kitchenowl`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install kitchenowl TrueCharts/kitchenowl
```
## 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 `kitchenowl` deployment
```console
helm uninstall kitchenowl
```
## 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 kitchenowl \
--set env.TZ="America/New York" \
TrueCharts/kitchenowl
```
#### 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 kitchenowl TrueCharts/kitchenowl -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
Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

+132
View File
@@ -0,0 +1,132 @@
# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{controller}
# Include{controllerDeployment}
# Include{replicas}
# Include{replica1}
# Include{strategy}
# Include{recreate}
# Include{controllerExpert}
# Include{controllerExpertExtraArgs}
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: FRONT_URL
label: "FRONT_URL"
description: "The url the instance will be accessed. eg. http://192.168.1.100:10246 or https://kitchen.mydomain.com"
schema:
type: string
required: true
default: ""
# Include{containerConfig}
# 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{serviceSelector}
- 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: 10246
required: true
# Include{advancedPortHTTP}
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 80
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: data
label: "App Data Storage"
description: "Stores the Application Data."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
# Include{security}
# Include{securityContextAdvancedRoot}
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: false
# Include{securityContextAdvanced}
# Include{podSecurityContextRoot}
- 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 this App of the user running the application"
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{documentation}
@@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "kitchenowl.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: kitchenowl-secrets
{{- $kitchenowlprevious := lookup "v1" "Secret" .Release.Namespace "kitchenowl-secrets" }}
{{- $jwt_secret := "" }}
data:
{{- if $kitchenowlprevious}}
JWT_SECRET_KEY: {{ index $kitchenowlprevious.data "JWT_SECRET_KEY" }}
{{- else }}
{{- $jwt_secret := randAlphaNum 32 }}
JWT_SECRET_KEY: {{ $jwt_secret | b64enc }}
{{- end }}
{{- end -}}
@@ -0,0 +1,5 @@
{{- include "tc.common.loader.init" . }}
{{ include "kitchenowl.secrets" . }}
{{ include "tc.common.loader.apply" . }}
+58
View File
@@ -0,0 +1,58 @@
image:
repository: tccr.io/truecharts/kitchenowl-web
pullPolicy: IfNotPresent
tag: beta@sha256:c4332c7471017c5347f6d7e5674ca33c561612a4878e3ed62711100b2927a48b
backendImage:
repository: tccr.io/truecharts/kitchenowl-backend
pullPolicy: IfNotPresent
tag: beta@sha256:d9eeac19c922659a82bf977064acb74d8d08b2b2863e307a247512a10e9185a0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
FRONT_URL: "http://localhost:10246"
# Backend listens on 5000 websockets.
BACK_URL: "localhost:5000"
service:
main:
ports:
main:
protocol: HTTP
targetPort: 80
port: 10246
additionalContainers:
backend:
name: backend
image: "{{ .Values.backendImage.repository }}:{{ .Values.backendImage.tag }}"
env:
- name: FRONT_URL
value: "{{ .Values.env.FRONT_URL }}"
# Backend also listens on 80, but afaik there is no use as of now
# Changed port to 81 to avoid conflict with frontend
- name: HTTP_PORT
value: "81"
- name: JWT_SECRET_KEY
valueFrom:
secretKeyRef:
name: kitchenowl-secrets
key: JWT_SECRET_KEY
volumeMounts:
- name: data
mountPath: "/data"
persistence:
data:
enabled: true
mountPath: "/data"
portal:
enabled: true