fixed geoip tag

This commit is contained in:
2026-01-20 18:01:32 +01:00
parent 7595cbe4ad
commit 99548a235e
33 changed files with 2864 additions and 2863 deletions
+68 -68
View File
@@ -29,46 +29,46 @@ spec:
app.kubernetes.io/version: 26.1.0
spec:
containers:
- name: actualbudget
image: actualbudget/actual-server:26.1.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
- name: actualbudget
image: actualbudget/actual-server:26.1.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
- name: data
persistentVolumeClaim:
claimName: actualbudget-data
---
apiVersion: v1
kind: Service
@@ -82,10 +82,10 @@ metadata:
spec:
type: ClusterIP
ports:
- name: http
port: 5006
protocol: TCP
targetPort: http
- name: http
port: 5006
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/instance: actualbudget
app.kubernetes.io/name: actualbudget
@@ -99,7 +99,7 @@ metadata:
nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
if ($geoip2_city_country_code != "HU") {
if ($geoip2_country_code != "HU") {
return 403 "Access restricted to Hungary";
}
labels:
@@ -110,30 +110,30 @@ metadata:
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
- 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
- hosts:
- actualbudget.dooplex.hu
secretName: actualbudget-tls
---
apiVersion: v1
kind: PersistentVolumeClaim
@@ -145,7 +145,7 @@ metadata:
namespace: actualbudget-system
spec:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
resources:
requests:
storage: 5Gi