added actualbudget

This commit is contained in:
kisfenyo
2025-12-18 14:56:55 +01:00
parent e5492ec685
commit 87106162bb
2 changed files with 171 additions and 0 deletions
+148
View File
@@ -0,0 +1,148 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: actualbudget-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
app.kubernetes.io/version: 25.12.0
name: actualbudget
namespace: actualbudget-system
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
strategy:
type: Recreate
template:
metadata:
labels:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
app.kubernetes.io/version: 25.12.0
spec:
containers:
- name: actualbudget
image: actualbudget/actual-server:25.12.0
imagePullPolicy: IfNotPresent
env:
- name: TZ
value: Europe/Budapest
ports:
- containerPort: 5006
name: http
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 128Mi
volumeMounts:
- name: data
mountPath: /data
volumes:
- name: data
persistentVolumeClaim:
claimName: actualbudget-data
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
app.kubernetes.io/version: 25.12.0
name: actualbudget
namespace: actualbudget-system
spec:
type: ClusterIP
ports:
- name: http
port: 5006
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/hostname: actualbudget.dooplex.hu,actualbudget.home
nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/ssl-redirect: "true"
labels:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
name: actualbudget
namespace: actualbudget-system
spec:
ingressClassName: nginx-internal
rules:
- host: actualbudget.dooplex.hu
http:
paths:
- backend:
service:
name: actualbudget
port:
number: 5006
path: /
pathType: Prefix
- host: actualbudget.home
http:
paths:
- backend:
service:
name: actualbudget
port:
number: 5006
path: /
pathType: Prefix
tls:
- hosts:
- actualbudget.dooplex.hu
secretName: actualbudget-tls
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
name: actualbudget-data
namespace: actualbudget-system
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: longhorn
+23
View File
@@ -81,3 +81,26 @@ spec:
syncOptions:
- CreateNamespace=true
- PruneLast=true
---
# ActualBudget
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: actualbudget
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: homelab
source:
repoURL: https://gitea.dooplex.hu/admin/homelab-manifests.git
targetRevision: main
path: actualbudget-system
destination:
server: https://kubernetes.default.svc
namespace: actualbudget-system
syncPolicy:
syncOptions:
- CreateNamespace=true
- PruneLast=true
---