Commit new App releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
92f98449ff
commit
fd76d5f848
|
@ -0,0 +1,99 @@
|
|||
# Changelog<br>
|
||||
|
||||
|
||||
<a name="fireflyiii-14.0.3"></a>
|
||||
### [fireflyiii-14.0.3](https://github.com/truecharts/apps/compare/fireflyiii-14.0.2...fireflyiii-14.0.3) (2022-03-15)
|
||||
|
||||
#### Fix
|
||||
|
||||
* use correct secret for newly generated keys ([#2183](https://github.com/truecharts/apps/issues/2183))
|
||||
|
||||
|
||||
|
||||
<a name="fireflyiii-14.0.2"></a>
|
||||
### [fireflyiii-14.0.2](https://github.com/truecharts/apps/compare/fireflyiii-14.0.1...fireflyiii-14.0.2) (2022-03-08)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update helm general non-major helm releases ([#2116](https://github.com/truecharts/apps/issues/2116))
|
||||
|
||||
|
||||
|
||||
<a name="fireflyiii-14.0.1"></a>
|
||||
### [fireflyiii-14.0.1](https://github.com/truecharts/apps/compare/fireflyiii-14.0.0...fireflyiii-14.0.1) (2022-03-07)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update helm general non-major helm releases ([#2111](https://github.com/truecharts/apps/issues/2111))
|
||||
* Remove `-icon` string from icon png's ([#2040](https://github.com/truecharts/apps/issues/2040))
|
||||
|
||||
|
||||
|
||||
<a name="fireflyiii-14.0.0"></a>
|
||||
### [fireflyiii-14.0.0](https://github.com/truecharts/apps/compare/fireflyiii-13.1.30...fireflyiii-14.0.0) (2022-03-03)
|
||||
|
||||
#### Chore
|
||||
|
||||
* remove fixed env from questions.yaml
|
||||
* update helm general major helm releases ([#2021](https://github.com/truecharts/apps/issues/2021))
|
||||
|
||||
#### Fix
|
||||
|
||||
* BREAKING CHANGE Move some env-vars outside of env section ([#2010](https://github.com/truecharts/apps/issues/2010))
|
||||
|
||||
|
||||
|
||||
<a name="fireflyiii-13.1.30"></a>
|
||||
### [fireflyiii-13.1.30](https://github.com/truecharts/apps/compare/fireflyiii-13.1.29...fireflyiii-13.1.30) (2022-03-02)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update helm general non-major helm releases ([#1999](https://github.com/truecharts/apps/issues/1999))
|
||||
|
||||
|
||||
|
||||
<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))
|
||||
|
||||
|
|
@ -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.
|
|
@ -0,0 +1,12 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 9.1.2
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 7.0.2
|
||||
- name: redis
|
||||
repository: https://truecharts.org
|
||||
version: 2.0.2
|
||||
digest: sha256:da3a22ee6b5952a35e1a1160c3bea8682c4614ccbc400e626833989c8909a4dd
|
||||
generated: "2022-03-15T20:36:04.955115322Z"
|
|
@ -0,0 +1,36 @@
|
|||
apiVersion: v2
|
||||
appVersion: "5.6.13"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 9.1.2
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 7.0.2
|
||||
- condition: redis.enabled
|
||||
name: redis
|
||||
repository: https://truecharts.org
|
||||
version: 2.0.2
|
||||
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.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: 14.0.3
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- finacial
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
|
@ -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 | 7.0.2 |
|
||||
| https://truecharts.org | common | 9.1.2 |
|
||||
| https://truecharts.org | redis | 2.0.2 |
|
||||
|
||||
## 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
|
|
@ -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.
|
@ -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
|
|
@ -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
|
@ -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 -}}
|
|
@ -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: {{ $app_key | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
|
@ -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" . }}
|
Loading…
Reference in New Issue