Replace Homepage Helm chart with kustomize manifests and custom Dockerfile #221
1 changed files with 17 additions and 5 deletions
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 <noreply@anthropic.com>
commit
d4fcc57046
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue