mirror of
https://github.com/truecharts/charts.git
synced 2026-07-14 19:45:20 -03:00
feat(ghostfolio): Add ghostfolio (#9476)
**Description** add [ghostfolio](https://github.com/ghostfolio/ghostfolio) submitting in draft so people can add comments <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> https://github.com/truecharts/charts/issues/7364 https://github.com/truecharts/charts/issues/8117 **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [x] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [x] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: TrueCharts-Bot <bot@truecharts.org> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Signed-off-by: David CM <blastik@users.noreply.github.com> Co-authored-by: TrueCharts Bot <bot@truecharts.org> Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
This commit is contained in:
30
charts/incubator/ghostfolio/.helmignore
Normal file
30
charts/incubator/ghostfolio/.helmignore
Normal 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
|
||||
1
charts/incubator/ghostfolio/CHANGELOG.md
Normal file
1
charts/incubator/ghostfolio/CHANGELOG.md
Normal file
@@ -0,0 +1 @@
|
||||
# Changelog
|
||||
32
charts/incubator/ghostfolio/Chart.yaml
Normal file
32
charts/incubator/ghostfolio/Chart.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: v2
|
||||
appVersion: "1.277.0"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 12.14.6
|
||||
- name: redis
|
||||
repository: https://deps.truecharts.org
|
||||
version: 6.0.58
|
||||
deprecated: false
|
||||
description: Ghostfolio is a privacy-first, open source dashboard for your personal finances. Break down your asset allocation, know your net worth and make solid, data-driven investment decisions.
|
||||
home: https://truecharts.org/charts/incubator/ghostfolio
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/ghostfolio.png
|
||||
keywords:
|
||||
- ghostfolio
|
||||
- finance
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: ghostfolio
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/ghostfolio
|
||||
- https://github.com/ghostfolio/ghostfolio
|
||||
- https://ghostfol.io/
|
||||
type: application
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- finance
|
||||
truecharts.org/SCALE-support: "true"
|
||||
1
charts/incubator/ghostfolio/README.md
Normal file
1
charts/incubator/ghostfolio/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# README
|
||||
BIN
charts/incubator/ghostfolio/icon.png
Normal file
BIN
charts/incubator/ghostfolio/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
97
charts/incubator/ghostfolio/questions.yaml
Normal file
97
charts/incubator/ghostfolio/questions.yaml
Normal file
@@ -0,0 +1,97 @@
|
||||
|
||||
# Include{groups}
|
||||
portals:
|
||||
open:
|
||||
# Include{portalLink}
|
||||
questions:
|
||||
# Include{global}
|
||||
# Include{workload}
|
||||
# Include{workloadDeployment}
|
||||
|
||||
# Include{replicas1}
|
||||
# Include{podSpec}
|
||||
# Include{containerMain}
|
||||
- variable: env
|
||||
label: Image Environment
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: ALPHA_VANTAGE_API_KEY
|
||||
label: "Alpha Vantage API Key"
|
||||
description: "https://www.alphavantage.co/ API key"
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
default: ""
|
||||
|
||||
# Include{containerBasic}
|
||||
# Include{containerAdvanced}
|
||||
# Include{containerConfig}
|
||||
# Include{serviceRoot}
|
||||
# Include{serviceMain}
|
||||
# Include{serviceSelectorLoadBalancer}
|
||||
# Include{serviceSelectorExtras}
|
||||
- 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: 3333
|
||||
required: true
|
||||
# Include{serviceExpertRoot}
|
||||
# Include{serviceExpert}
|
||||
# Include{serviceList}
|
||||
# Include{persistenceRoot}
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceList}
|
||||
# Include{ingressRoot}
|
||||
- variable: main
|
||||
label: Main Ingress
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{ingressDefault}
|
||||
# Include{ingressTLS}
|
||||
# Include{ingressTraefik}
|
||||
# Include{ingressAdvanced}
|
||||
# Include{ingressList}
|
||||
# Include{securityContextRoot}
|
||||
|
||||
- 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
|
||||
# Include{securityContextContainer}
|
||||
# Include{securityContextAdvanced}
|
||||
# Include{securityContextPod}
|
||||
- variable: fsGroup
|
||||
label: fsGroup
|
||||
description: The group that should own ALL storage.
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
|
||||
# Include{resources}
|
||||
# Include{advanced}
|
||||
# Include{addons}
|
||||
# Include{codeserver}
|
||||
# Include{netshoot}
|
||||
# Include{vpn}
|
||||
# Include{documentation}
|
||||
1
charts/incubator/ghostfolio/templates/NOTES.txt
Normal file
1
charts/incubator/ghostfolio/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "tc.v1.common.lib.chart.notes" $ -}}
|
||||
20
charts/incubator/ghostfolio/templates/_secrets.tpl
Normal file
20
charts/incubator/ghostfolio/templates/_secrets.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
{{/* Define the secrets */}}
|
||||
{{- define "ghostfolio.secrets" -}}
|
||||
{{- $secretName := (printf "%s-ghostfolio-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) -}}
|
||||
|
||||
{{/* Initialize all keys */}}
|
||||
{{- $accesstokensalt := randAlphaNum 50 }}
|
||||
{{- $jwtsecret := randAlphaNum 50 }}
|
||||
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
|
||||
{{/* Get previous values and decode */}}
|
||||
{{- $accesstokensalt = (index .data "ACCESS_TOKEN_SALT") | b64dec -}}
|
||||
{{- $jwtsecret = (index .data "JWT_SECRET_KEY") | b64dec -}}
|
||||
{{- end }}
|
||||
|
||||
enabled: true
|
||||
data:
|
||||
ACCESS_TOKEN_SALT: {{ $accesstokensalt }}
|
||||
JWT_SECRET_KEY: {{ $jwtsecret }}
|
||||
DATABASE_URL: {{ (printf "%s?client_encoding=utf8" (.Values.cnpg.main.creds.std | trimAll "\"")) | quote }}
|
||||
{{- end -}}
|
||||
11
charts/incubator/ghostfolio/templates/common.yaml
Normal file
11
charts/incubator/ghostfolio/templates/common.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "tc.v1.common.loader.init" . }}
|
||||
|
||||
{{/* Render secrets for ghostfolio */}}
|
||||
{{- $secrets := include "ghostfolio.secrets" . | fromYaml -}}
|
||||
{{- if $secrets -}}
|
||||
{{- $_ := set .Values.secret "secrets" $secrets -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.v1.common.loader.apply" . }}
|
||||
73
charts/incubator/ghostfolio/values.yaml
Normal file
73
charts/incubator/ghostfolio/values.yaml
Normal file
@@ -0,0 +1,73 @@
|
||||
image:
|
||||
repository: tccr.io/truecharts/ghostfolio
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v1.283.5
|
||||
|
||||
workload:
|
||||
main:
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
probes:
|
||||
liveness:
|
||||
path: "/"
|
||||
type: http
|
||||
readiness:
|
||||
path: "/"
|
||||
type: http
|
||||
startup:
|
||||
path: "/"
|
||||
type: http
|
||||
env:
|
||||
ALPHA_VANTAGE_API_KEY: ""
|
||||
ACCESS_TOKEN_SALT:
|
||||
secretKeyRef:
|
||||
name: secrets
|
||||
key: ACCESS_TOKEN_SALT
|
||||
JWT_SECRET_KEY:
|
||||
secretKeyRef:
|
||||
name: secrets
|
||||
key: JWT_SECRET_KEY
|
||||
DATABASE_URL:
|
||||
secretKeyRef:
|
||||
name: secrets
|
||||
key: DATABASE_URL
|
||||
REDIS_HOST:
|
||||
secretKeyRef:
|
||||
expandObjectName: false
|
||||
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
||||
key: plainhost
|
||||
REDIS_PASSWORD:
|
||||
secretKeyRef:
|
||||
expandObjectName: false
|
||||
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
||||
key: redis-password
|
||||
REDIS_PORT: "6379"
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 3333
|
||||
targetPort: 3333
|
||||
|
||||
cnpg:
|
||||
main:
|
||||
enabled: true
|
||||
user: ghostfolio
|
||||
database: ghostfolio
|
||||
|
||||
redis:
|
||||
enabled: true
|
||||
|
||||
securityContext:
|
||||
container:
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
fsGroup: 568
|
||||
|
||||
portal:
|
||||
open:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user