mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
feat: archive ghostfolio
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1.json
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: ghostfolio
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: onepassword-connect
|
||||
target:
|
||||
name: ghostfolio-secret
|
||||
template:
|
||||
engineVersion: v2
|
||||
data:
|
||||
ACCESS_TOKEN_SALT: "{{ .GHOSTFOLIO_ACCESS_TOKEN_SALT }}"
|
||||
JWT_SECRET_KEY: "{{ .GHOSTFOLIO_JWT_SECRET_KEY }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: ghostfolio
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: ghostfolio-db
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: crunchy-pgo-secrets
|
||||
target:
|
||||
name: ghostfolio-db-secret
|
||||
template:
|
||||
engineVersion: v2
|
||||
data:
|
||||
DATABASE_URL: postgresql://{{ index . "user" }}:{{ index . "password" }}@{{ index . "host" }}:{{ index . "port" }}/{{ index . "dbname" }}
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: postgres-pguser-ghostfolio
|
@@ -1,89 +0,0 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: &app ghostfolio
|
||||
spec:
|
||||
interval: 1h
|
||||
chartRef:
|
||||
kind: OCIRepository
|
||||
name: app-template
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
strategy: rollback
|
||||
retries: 3
|
||||
values:
|
||||
controllers:
|
||||
ghostfolio:
|
||||
strategy: RollingUpdate
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
secret.reloader.stakater.com/reload: ghostfolio-db-secret
|
||||
containers:
|
||||
app:
|
||||
image:
|
||||
repository: docker.io/ghostfolio/ghostfolio
|
||||
tag: 2.175.0@sha256:1344c505b05346625d1217877f0e2abc30534e5eaa7bb39d589443dc99fcdf58
|
||||
env:
|
||||
NODE_ENV: production
|
||||
REDIS_HOST: dragonfly.database.svc.cluster.local.
|
||||
REDIS_PORT: 6379
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: ghostfolio-secret
|
||||
- secretRef:
|
||||
name: ghostfolio-db-secret
|
||||
probes:
|
||||
liveness: &probes
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
httpGet:
|
||||
path: /api/v1/health
|
||||
port: &port 3333
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
readiness: *probes
|
||||
startup:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
service:
|
||||
app:
|
||||
controller: *app
|
||||
ports:
|
||||
http:
|
||||
port: *port
|
||||
ingress:
|
||||
app:
|
||||
enabled: true
|
||||
className: internal
|
||||
annotations:
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/name: Ghostfolio
|
||||
gethomepage.dev/description: Open Source Wealth Management Software
|
||||
gethomepage.dev/group: Applications
|
||||
gethomepage.dev/icon: ghostfolio.png
|
||||
gethomepage.dev/pod-selector: >-
|
||||
app in (
|
||||
ghostfolio
|
||||
)
|
||||
hosts:
|
||||
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
service:
|
||||
identifier: app
|
||||
port: http
|
||||
tls:
|
||||
- hosts:
|
||||
- *host
|
@@ -1,7 +0,0 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./helmrelease.yaml
|
@@ -1,34 +0,0 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app ghostfolio
|
||||
namespace: &namespace default
|
||||
spec:
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
components:
|
||||
- ../../../../components/gatus/guarded
|
||||
dependsOn:
|
||||
- name: crunchy-postgres-operator-cluster
|
||||
namespace: database
|
||||
- name: external-secrets-stores
|
||||
namespace: external-secrets
|
||||
- name: dragonfly-cluster
|
||||
namespace: database
|
||||
interval: 1h
|
||||
path: ./kubernetes/apps/default/ghostfolio/app
|
||||
postBuild:
|
||||
substitute:
|
||||
APP: *app
|
||||
prune: true
|
||||
retryInterval: 2m
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
namespace: flux-system
|
||||
targetNamespace: *namespace
|
||||
timeout: 5m
|
||||
wait: false
|
@@ -15,7 +15,6 @@ resources:
|
||||
- ./flood/ks.yaml
|
||||
- ./freshrss/ks.yaml
|
||||
- ./frigate/ks.yaml
|
||||
- ./ghostfolio/ks.yaml
|
||||
- ./home-assistant/ks.yaml
|
||||
- ./homebox/ks.yaml
|
||||
- ./homelab/ks.yaml
|
||||
|
Reference in New Issue
Block a user