Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-01-08 23:29:51 +00:00
parent a478eb4d45
commit e0375d077b
17 changed files with 3795 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog<br>
<a name="fireflyiii-13.1.12"></a>
### [fireflyiii-13.1.12](https://github.com/truecharts/apps/compare/fireflyiii-13.1.11...fireflyiii-13.1.12) (2022-01-08)
#### Fix
* Actually render env on cronjob and revert port change ([#1664](https://github.com/truecharts/apps/issues/1664))
<a name="fireflyiii-13.1.11"></a>
### [fireflyiii-13.1.11](https://github.com/truecharts/apps/compare/fireflyiii-13.1.10...fireflyiii-13.1.11) (2022-01-07)
#### Fix
* internal links use targetPort ([#1658](https://github.com/truecharts/apps/issues/1658))
<a name="fireflyiii-13.1.10"></a>
### [fireflyiii-13.1.10](https://github.com/truecharts/apps/compare/fireflyiii-13.1.9...fireflyiii-13.1.10) (2022-01-04)
#### Chore
* update helm general non-major helm releases
<a name="fireflyiii-13.1.9"></a>
### [fireflyiii-13.1.9](https://github.com/truecharts/apps/compare/fireflyiii-13.1.8...fireflyiii-13.1.9) (2021-12-28)
#### Chore
* update helm general non-major helm releases ([#1623](https://github.com/truecharts/apps/issues/1623))
<a name="fireflyiii-13.1.8"></a>
### [fireflyiii-13.1.8](https://github.com/truecharts/apps/compare/fireflyiii-13.1.7...fireflyiii-13.1.8) (2021-12-21)
#### Chore
* update helm general non-major helm releases ([#1596](https://github.com/truecharts/apps/issues/1596))
<a name="fireflyiii-13.1.7"></a>
### [fireflyiii-13.1.7](https://github.com/truecharts/apps/compare/fireflyiii-13.1.6...fireflyiii-13.1.7) (2021-12-19)
#### Chore
* Last patch bump before RC2 branch-off
* remove `editable: true` as this is the default ([#1576](https://github.com/truecharts/apps/issues/1576))
<a name="fireflyiii-13.1.6"></a>
### [fireflyiii-13.1.6](https://github.com/truecharts/apps/compare/fireflyiii-13.1.5...fireflyiii-13.1.6) (2021-12-19)
#### Chore
* completely remove mountPath reference from GUI ([#1572](https://github.com/truecharts/apps/issues/1572))
* update helm general non-major helm releases ([#1571](https://github.com/truecharts/apps/issues/1571))
<a name="fireflyiii-13.1.5"></a>
### [fireflyiii-13.1.5](https://github.com/truecharts/apps/compare/fireflyiii-13.1.4...fireflyiii-13.1.5) (2021-12-18)
#### Chore
* cleanup questions by removing hidden dicts ([#1558](https://github.com/truecharts/apps/issues/1558))
* App-Icon Organization ([#1539](https://github.com/truecharts/apps/issues/1539))
#### Fix
* fix identation on secrets ([#1553](https://github.com/truecharts/apps/issues/1553))
<a name="fireflyiii-13.1.4"></a>
### [fireflyiii-13.1.4](https://github.com/truecharts/apps/compare/fireflyiii-13.1.3...fireflyiii-13.1.4) (2021-12-14)
#### Chore
* update helm general non-major helm releases ([#1535](https://github.com/truecharts/apps/issues/1535))
<a name="fireflyiii-13.1.3"></a>
### [fireflyiii-13.1.3](https://github.com/truecharts/apps/compare/fireflyiii-13.1.2...fireflyiii-13.1.3) (2021-12-13)
#### Chore
* move incubator apps to stable and bump everything

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.10.2
- name: postgresql
repository: https://truecharts.org/
version: 6.0.43
- name: redis
repository: https://truecharts.org
version: 1.0.48
digest: sha256:66bab85fc77681d7a0d5e01ff31be0a05c4a5147795d14633fd65ff8511e7c7a
generated: "2022-01-08T23:26:52.725697594Z"

View File

@ -0,0 +1,36 @@
apiVersion: v2
appVersion: "5.6.5"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.10.2
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.43
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 1.0.48
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.12
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.43 |
| https://truecharts.org | common | 8.10.2 |
| https://truecharts.org | redis | 1.0.48 |
## 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,61 @@
# 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.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"` | |
| 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.5@sha256:fe75d9df1daf62871eccb976643ff393ed1bd402b61baa0f17f7ad5289697264"` | |
| 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,90 @@
image:
repository: tccr.io/truecharts/fireflyiii-core
pullPolicy: IfNotPresent
tag: v5.6.5@sha256:fe75d9df1daf62871eccb976643ff393ed1bd402b61baa0f17f7ad5289697264
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
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 | quote }}
APP_KEY: {{ $static_cron_token | b64enc | quote }}
{{- 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