fix: use official homepage k8s deployment with subPath mounts

This commit is contained in:
2026-03-16 23:29:27 +01:00
parent d1dcfa9994
commit cb6b2c1442
2 changed files with 21 additions and 22 deletions
+20 -21
View File
@@ -5,8 +5,6 @@ metadata:
namespace: homepage
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: homepage
@@ -20,31 +18,33 @@ spec:
- name: homepage
image: ghcr.io/gethomepage/homepage:v1.11.0
ports:
- containerPort: 3000
- name: http
containerPort: 3000
protocol: TCP
env:
- name: HOMEPAGE_ALLOWED_HOSTS
value: "homepage.net-scope.org"
volumeMounts:
- name: app-data
mountPath: /app/config
- name: config-files
mountPath: /app/config/settings.yaml
- mountPath: /app/config/settings.yaml
name: homepage-config
subPath: settings.yaml
- name: config-files
mountPath: /app/config/services.yaml
- mountPath: /app/config/services.yaml
name: homepage-config
subPath: services.yaml
- name: config-files
mountPath: /app/config/bookmarks.yaml
- mountPath: /app/config/bookmarks.yaml
name: homepage-config
subPath: bookmarks.yaml
- name: config-files
mountPath: /app/config/widgets.yaml
- mountPath: /app/config/widgets.yaml
name: homepage-config
subPath: widgets.yaml
- name: config-files
mountPath: /app/config/docker.yaml
- mountPath: /app/config/docker.yaml
name: homepage-config
subPath: docker.yaml
- name: config-files
mountPath: /app/config/kubernetes.yaml
- mountPath: /app/config/kubernetes.yaml
name: homepage-config
subPath: kubernetes.yaml
- mountPath: /app/config/logs
name: logs
resources:
requests:
memory: "128Mi"
@@ -53,9 +53,8 @@ spec:
memory: "256Mi"
cpu: "200m"
volumes:
- name: app-data
persistentVolumeClaim:
claimName: homepage-config
- name: config-files
- name: homepage-config
configMap:
name: homepage-config
- name: logs
emptyDir: {}
+1 -1
View File
@@ -3,7 +3,7 @@ kind: Kustomization
resources:
- namespace.yaml
- rbac.yaml
- pvc.yaml
# - pvc.yaml
- deployment.yaml
- service.yaml
- configmap.yaml