Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-03-02 11:04:59 +00:00
parent cf702bd8de
commit 2783a794dc
17 changed files with 4655 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog<br>
<a name="fireflyiii-13.1.29"></a>
### [fireflyiii-13.1.29](https://github.com/truecharts/apps/compare/fireflyiii-13.1.28...fireflyiii-13.1.29) (2022-03-02)
#### Chore
* rename `web_portal` to `open` ([#1957](https://github.com/truecharts/apps/issues/1957))
* Add gui options for trusted proxies and url ([#1987](https://github.com/truecharts/apps/issues/1987))
<a name="fireflyiii-13.1.28"></a>
### [fireflyiii-13.1.28](https://github.com/truecharts/apps/compare/fireflyiii-13.1.27...fireflyiii-13.1.28) (2022-02-22)
#### Fix
* Removed some double `b64enc` on autogenerated secrets, also some quotes off them. ([#1937](https://github.com/truecharts/apps/issues/1937))
<a name="fireflyiii-13.1.27"></a>
### [fireflyiii-13.1.27](https://github.com/truecharts/apps/compare/fireflyiii-13.1.26...fireflyiii-13.1.27) (2022-02-21)
#### Chore
* update helm general non-major helm releases ([#1927](https://github.com/truecharts/apps/issues/1927))
<a name="fireflyiii-13.1.26"></a>
### [fireflyiii-13.1.26](https://github.com/truecharts/apps/compare/fireflyiii-13.1.25...fireflyiii-13.1.26) (2022-02-15)
#### Chore
* update helm general non-major helm releases ([#1901](https://github.com/truecharts/apps/issues/1901))
<a name="fireflyiii-13.1.25"></a>
### [fireflyiii-13.1.25](https://github.com/truecharts/apps/compare/fireflyiii-13.1.24...fireflyiii-13.1.25) (2022-02-08)
#### Chore
* update helm general non-major helm releases ([#1871](https://github.com/truecharts/apps/issues/1871))
<a name="fireflyiii-13.1.24"></a>
### [fireflyiii-13.1.24](https://github.com/truecharts/apps/compare/fireflyiii-13.1.23...fireflyiii-13.1.24) (2022-02-06)
#### Chore
* update helm chart common to v8.15.0 ([#1859](https://github.com/truecharts/apps/issues/1859))
<a name="fireflyiii-13.1.23"></a>
### [fireflyiii-13.1.23](https://github.com/truecharts/apps/compare/fireflyiii-13.1.22...fireflyiii-13.1.23) (2022-02-05)
#### Chore
* update helm general non-major helm releases ([#1852](https://github.com/truecharts/apps/issues/1852))
<a name="fireflyiii-13.1.22"></a>
### [fireflyiii-13.1.22](https://github.com/truecharts/apps/compare/fireflyiii-13.1.21...fireflyiii-13.1.22) (2022-02-03)
#### Chore
* update docker general non-major ([#1836](https://github.com/truecharts/apps/issues/1836))
<a name="fireflyiii-13.1.21"></a>
### [fireflyiii-13.1.21](https://github.com/truecharts/apps/compare/fireflyiii-13.1.20...fireflyiii-13.1.21) (2022-02-02)
#### Chore
* update helm general non-major helm releases ([#1828](https://github.com/truecharts/apps/issues/1828))
<a name="fireflyiii-13.1.20"></a>
### [fireflyiii-13.1.20](https://github.com/truecharts/apps/compare/fireflyiii-13.1.19...fireflyiii-13.1.20) (2022-01-25)
#### Chore
* update helm general non-major helm releases ([#1791](https://github.com/truecharts/apps/issues/1791))
<a name="fireflyiii-13.1.19"></a>
### [fireflyiii-13.1.19](https://github.com/truecharts/apps/compare/fireflyiii-13.1.18...fireflyiii-13.1.19) (2022-01-22)
#### Chore

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,12 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.16.0
- name: postgresql
repository: https://truecharts.org/
version: 6.0.69
- name: redis
repository: https://truecharts.org
version: 1.0.76
digest: sha256:4b9b9e6af3393124163d666ce069f03ac0b85487d049bb9d70da348d0256439d
generated: "2022-03-02T11:00:00.760615798Z"

View File

@ -0,0 +1,36 @@
apiVersion: v2
appVersion: "5.6.13"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.16.0
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.69
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 1.0.76
deprecated: false
description: A free and open source personal finance manager
home: https://github.com/firefly-iii/firefly-iii/
icon: https://truecharts.org/_static/img/appicons/fireflyiii-icon.png
keywords:
- fireflyiii
- finacial
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: fireflyiii
sources:
- https://github.com/firefly-iii/firefly-iii/
type: application
version: 13.1.29
annotations:
truecharts.org/catagories: |
- finacial
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,39 @@
# Introduction
A free and open source personal finance manager
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/firefly-iii/firefly-iii/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | postgresql | 6.0.69 |
| https://truecharts.org | common | 8.16.0 |
| https://truecharts.org | redis | 1.0.76 |
## 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 @@
A free and open source personal finance manager
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,63 @@
# 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 |
|-----|------|---------|-------------|
| cronjob.annotations | object | `{}` | |
| cronjob.failedJobsHistoryLimit | int | `5` | |
| cronjob.schedule | string | `"0 3 * * *"` | |
| cronjob.successfulJobsHistoryLimit | int | `2` | |
| env.APP_URL | string | `""` | |
| env.CACHE_DRIVER | string | `"redis"` | |
| env.DB_CONNECTION | string | `"pgsql"` | |
| env.DB_DATABASE | string | `"firefly"` | |
| env.DB_PORT | int | `5432` | |
| env.DB_USERNAME | string | `"firefly"` | |
| env.REDIS_CACHE_DB | string | `"1"` | |
| env.REDIS_DB | string | `"0"` | |
| env.REDIS_PORT | int | `6379` | |
| env.REDIS_SCHEME | string | `"tcp"` | |
| env.SESSION_DRIVER | string | `"redis"` | |
| env.TRUSTED_PROXIES | string | `"172.16.0.0/16"` | |
| envValueFrom.APP_KEY.secretKeyRef.key | string | `"APP_KEY"` | |
| envValueFrom.APP_KEY.secretKeyRef.name | string | `"fireflyiii-secrets"` | |
| envValueFrom.DB_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.DB_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.DB_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.DB_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.REDIS_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.REDIS_HOST.secretKeyRef.name | string | `"rediscreds"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.key | string | `"redis-password"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.name | string | `"rediscreds"` | |
| envValueFrom.STATIC_CRON_TOKEN.secretKeyRef.key | string | `"STATIC_CRON_TOKEN"` | |
| envValueFrom.STATIC_CRON_TOKEN.secretKeyRef.name | string | `"fireflyiii-secrets"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/fireflyiii-core"` | |
| image.tag | string | `"v5.6.13@sha256:df9474b6dae556d71f19609a74712869e94316b0380709e672b120158fc4324a"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/var/www/html/storage/upload"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"firefly"` | |
| postgresql.postgresqlUsername | string | `"firefly"` | |
| probes.liveness.path | string | `"/login"` | |
| probes.readiness.path | string | `"/login"` | |
| probes.startup.path | string | `"/login"` | |
| redis.enabled | bool | `true` | |
| redis.existingSecret | string | `"rediscreds"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `10082` | |
| service.main.ports.main.targetPort | int | `8080` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,92 @@
image:
repository: tccr.io/truecharts/fireflyiii-core
pullPolicy: IfNotPresent
tag: v5.6.13@sha256:df9474b6dae556d71f19609a74712869e94316b0380709e672b120158fc4324a
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 10082
targetPort: 8080
probes:
liveness:
path: "/login"
readiness:
path: "/login"
startup:
path: "/login"
env:
DB_USERNAME: firefly
DB_DATABASE: firefly
DB_CONNECTION: pgsql
DB_PORT: 5432
REDIS_DB: "0"
REDIS_CACHE_DB: "1"
CACHE_DRIVER: redis
SESSION_DRIVER: redis
REDIS_SCHEME: tcp
REDIS_PORT: 6379
APP_URL: ""
TRUSTED_PROXIES: "172.16.0.0/16"
envValueFrom:
DB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
STATIC_CRON_TOKEN:
secretKeyRef:
name: fireflyiii-secrets
key: STATIC_CRON_TOKEN
APP_KEY:
secretKeyRef:
name: fireflyiii-secrets
key: APP_KEY
persistence:
data:
enabled: true
mountPath: "/var/www/html/storage/upload"
cronjob:
schedule: "0 3 * * *"
annotations: {}
failedJobsHistoryLimit: 5
successfulJobsHistoryLimit: 2
# Enabled redis
redis:
enabled: true
existingSecret: "rediscreds"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: firefly
postgresqlDatabase: firefly

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,54 @@
{{/* Define the cronjob */}}
{{- define "fireflyiii.cronjob" -}}
{{- $jobName := include "common.names.fullname" . }}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ printf "%s-cronjob" $jobName }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
schedule: "{{ .Values.cronjob.schedule }}"
concurrencyPolicy: Forbid
{{- with .Values.cronjob.failedJobsHistoryLimit }}
failedJobsHistoryLimit: {{ . }}
{{- end }}
{{- with .Values.cronjob.successfulJobsHistoryLimit }}
successfulJobsHistoryLimit: {{ . }}
{{- end }}
jobTemplate:
metadata:
spec:
template:
metadata:
spec:
securityContext:
runAsUser: 568
runAsGroup: 568
restartPolicy: Never
containers:
- name: {{ .Chart.Name }}
securityContext:
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL
env:
- name: STATIC_CRON_TOKEN
valueFrom:
secretKeyRef:
name: fireflyiii-secrets
key: STATIC_CRON_TOKEN
image: "{{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}"
args:
- curl
- "http://{{ $jobName }}.ix-{{ .Release.Name }}.svc.cluster.local:{{ .Values.service.main.ports.main.port }}/api/v1/cron/$(STATIC_CRON_TOKEN)"
resources:
{{ toYaml .Values.resources | indent 16 }}
{{- end -}}

View File

@ -0,0 +1,24 @@
{{/* Define the secrets */}}
{{- define "fireflyiii.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: fireflyiii-secrets
{{- $fireflyiiiprevious := lookup "v1" "Secret" .Release.Namespace "fireflyiii-secrets" }}
{{- $static_cron_token := "" }}
{{- $app_key := "" }}
data:
{{- if $fireflyiiiprevious}}
STATIC_CRON_TOKEN: {{ index $fireflyiiiprevious.data "STATIC_CRON_TOKEN" }}
APP_KEY: {{ index $fireflyiiiprevious.data "APP_KEY" }}
{{- else }}
{{- $static_cron_token := randAlphaNum 32 }}
{{- $app_key := randAlphaNum 32 }}
STATIC_CRON_TOKEN: {{ $static_cron_token | b64enc }}
APP_KEY: {{ $static_cron_token | b64enc }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,11 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render secrets for fireflyiii */}}
{{- include "fireflyiii.secrets" . }}
{{/* Render cronjob for fireflyiii */}}
{{- include "fireflyiii.cronjob" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File