From d1dcfa99941c25c86d8dbe68183ce38d83a2845e Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 16 Mar 2026 23:19:33 +0100 Subject: [PATCH] fix: use subPath mounts for homepage config files --- clusters/homelab/homepage/deployment.yaml | 26 +++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/clusters/homelab/homepage/deployment.yaml b/clusters/homelab/homepage/deployment.yaml index 6749287..cd5b11e 100644 --- a/clusters/homelab/homepage/deployment.yaml +++ b/clusters/homelab/homepage/deployment.yaml @@ -24,17 +24,27 @@ spec: env: - name: HOMEPAGE_ALLOWED_HOSTS value: "homepage.net-scope.org" - - name: HOMEPAGE_CONFIG_DIR - value: "/config" - - name: LOG_TARGETS - value: "stdout" volumeMounts: - name: app-data mountPath: /app/config - name: config-files - mountPath: /config - - name: logs - mountPath: /config/logs + mountPath: /app/config/settings.yaml + subPath: settings.yaml + - name: config-files + mountPath: /app/config/services.yaml + subPath: services.yaml + - name: config-files + mountPath: /app/config/bookmarks.yaml + subPath: bookmarks.yaml + - name: config-files + mountPath: /app/config/widgets.yaml + subPath: widgets.yaml + - name: config-files + mountPath: /app/config/docker.yaml + subPath: docker.yaml + - name: config-files + mountPath: /app/config/kubernetes.yaml + subPath: kubernetes.yaml resources: requests: memory: "128Mi" @@ -49,5 +59,3 @@ spec: - name: config-files configMap: name: homepage-config - - name: logs - emptyDir: {}