From d4fcc570469724911ba10260dacacd19c0a6072f Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Thu, 19 Feb 2026 18:23:00 -0800 Subject: [PATCH] Use subPath mounts for Homepage config files Homepage tries to copy skeleton files (custom.css etc.) into /app/config at startup. A ConfigMap volume mount makes the directory read-only, blocking this. SubPath mounts keep individual config files from the ConfigMap while leaving the directory writable. Co-Authored-By: Claude Opus 4.6 --- argocd/manifests/homepage/deployment.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/argocd/manifests/homepage/deployment.yaml b/argocd/manifests/homepage/deployment.yaml index 4f75290..bc04326 100644 --- a/argocd/manifests/homepage/deployment.yaml +++ b/argocd/manifests/homepage/deployment.yaml @@ -83,9 +83,23 @@ spec: key: token volumeMounts: - name: config - mountPath: /app/config - - name: logs - mountPath: /app/config/logs + mountPath: /app/config/bookmarks.yaml + subPath: bookmarks.yaml + - name: config + mountPath: /app/config/services.yaml + subPath: services.yaml + - name: config + mountPath: /app/config/widgets.yaml + subPath: widgets.yaml + - name: config + mountPath: /app/config/kubernetes.yaml + subPath: kubernetes.yaml + - name: config + mountPath: /app/config/docker.yaml + subPath: docker.yaml + - name: config + mountPath: /app/config/settings.yaml + subPath: settings.yaml resources: requests: memory: "128Mi" @@ -115,5 +129,3 @@ spec: - name: config configMap: name: homepage-config - - name: logs - emptyDir: {}