Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2021-12-07 10:48:53 +00:00
parent b3056036e9
commit d126a45938
16 changed files with 3523 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog<br>
<a name="fireflyiii-13.1.0"></a>
### [fireflyiii-13.1.0](https://github.com/truecharts/apps/compare/fireflyiii-13.0.10...fireflyiii-13.1.0) (2021-12-07)
#### Feat
* add cron support ([#1470](https://github.com/truecharts/apps/issues/1470))
<a name="fireflyiii-13.0.10"></a>
### [fireflyiii-13.0.10](https://github.com/truecharts/apps/compare/fireflyiii-13.0.9...fireflyiii-13.0.10) (2021-12-05)
#### Chore
* fix some remaining issues after refactor work
<a name="fireflyiii-13.0.9"></a>
### fireflyiii-13.0.9 (2021-12-05)
#### Chore
* bump apps to generate security page
* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448))
* update non-major deps helm releases ([#1471](https://github.com/truecharts/apps/issues/1471))
* update non-major deps helm releases ([#1468](https://github.com/truecharts/apps/issues/1468))
* update non-major deps helm releases ([#1453](https://github.com/truecharts/apps/issues/1453))
* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449))
* update non-major deps helm releases ([#1432](https://github.com/truecharts/apps/issues/1432))
#### Fix
* fix typo in theme selection ([#1428](https://github.com/truecharts/apps/issues/1428))
<a name="fireflyiii-13.0.8"></a>
### [fireflyiii-13.0.8](https://github.com/truecharts/apps/compare/fireflyiii-13.0.7...fireflyiii-13.0.8) (2021-12-05)
#### Chore
* update non-major deps helm releases ([#1468](https://github.com/truecharts/apps/issues/1468))
<a name="fireflyiii-13.0.7"></a>
### [fireflyiii-13.0.7](https://github.com/truecharts/apps/compare/fireflyiii-13.0.6...fireflyiii-13.0.7) (2021-12-04)
#### Chore
* bump apps to generate security page
<a name="fireflyiii-13.0.6"></a>
### [fireflyiii-13.0.6](https://github.com/truecharts/apps/compare/fireflyiii-13.0.5...fireflyiii-13.0.6) (2021-12-04)
#### Chore
* update non-major deps helm releases ([#1453](https://github.com/truecharts/apps/issues/1453))
<a name="fireflyiii-13.0.5"></a>
### [fireflyiii-13.0.5](https://github.com/truecharts/apps/compare/fireflyiii-13.0.4...fireflyiii-13.0.5) (2021-12-03)
#### Chore
* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448))
* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449))
<a name="fireflyiii-13.0.4"></a>
### [fireflyiii-13.0.4](https://github.com/truecharts/apps/compare/fireflyiii-13.0.3...fireflyiii-13.0.4) (2021-11-30)
#### Chore
* update non-major deps helm releases ([#1432](https://github.com/truecharts/apps/issues/1432))
#### Fix
* move conflicting ports to 10xxx range ([#1415](https://github.com/truecharts/apps/issues/1415))
<a name="fireflyiii-13.0.3"></a>
### [fireflyiii-13.0.3](https://github.com/truecharts/apps/compare/fireflyiii-13.0.2...fireflyiii-13.0.3) (2021-11-23)
#### Chore
* update non-major deps helm releases ([#1386](https://github.com/truecharts/apps/issues/1386))

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,9 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.9.13
- name: postgresql
repository: https://truecharts.org/
version: 6.0.22
digest: sha256:196a5a5d735b1866181c4d42cdb0c31dfde7dcec6339a60f648a80352e834a1d
generated: "2021-12-07T10:46:45.195632083Z"

View File

@ -0,0 +1,32 @@
apiVersion: v2
appVersion: "5.6.5"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.9.13
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.22
deprecated: false
description: A free and open source personal finance manager
home: https://github.com/firefly-iii/firefly-iii/
icon: https://www.firefly-iii.org/assets/logo/color.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.0
annotations:
truecharts.org/catagories: |
- finacial
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,38 @@
# 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.22 |
| https://truecharts.org | common | 8.9.13 |
## 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.

View File

@ -0,0 +1,49 @@
# 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.DB_CONNECTION | string | `"pgsql"` | |
| env.DB_DATABASE | string | `"firefly"` | |
| env.DB_PORT | int | `5432` | |
| env.DB_USERNAME | string | `"firefly"` | |
| 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.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"` | |
| 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,71 @@
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
envValueFrom:
DB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-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 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,38 @@
{{/* Define the cronjob */}}
{{- define "fireflyiii.cronjob" -}}
{{- $jobName := include "common.names.fullname" . }}
---
apiVersion: batch/v1beta1
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:
restartPolicy: Never
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}"
imagePullPolicy: {{ default .Values.image.pullPolicy }}
args:
- curl
- "http://{{ $jobName }}.ix-{{ .Release.Name }}.svc.cluster.local:{{ .Values.service.main.ports.main.port }}/api/v1/cron/{{ .Values.env.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