From 2058b7fcaec75a8aa6d37593c76ccd403c7bfb47 Mon Sep 17 00:00:00 2001 From: Kulana Kryoseu Date: Mon, 29 Sep 2025 23:11:03 -0700 Subject: [PATCH] Documentation: add Kubernetes config file mounting instructions (#5825) --- docs/configs/kubernetes.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/configs/kubernetes.md b/docs/configs/kubernetes.md index b0f61bbca..51cd4b5dd 100644 --- a/docs/configs/kubernetes.md +++ b/docs/configs/kubernetes.md @@ -178,3 +178,32 @@ See [ClusterRole and ClusterRoleBinding](../installation/k8s.md#clusterrole-and- ## Caveats Similarly to Docker service discovery, there currently is no rigid ordering to discovered services and discovered services will be displayed above those specified in the `services.yaml`. + +## Adding extra configuration files + +Some Homepage features (for example, [Proxmox](../configs/proxmox.md)) require additional configuration files such as `proxmox.yaml`. +When running Homepage on Kubernetes, these files must be provided via a `ConfigMap` and mounted into the container at `/app/config`. + +### ConfigMap example + +```yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: homepage +data: + proxmox.yaml: | + pve: + url: https://proxmox.host.or.ip:8006 + token: username@pam!Token ID + secret: secret +``` + +Mount the file into `/app/config` by updating the `Deployment`: + +```yaml +volumeMounts: + - mountPath: /app/config/proxmox.yaml + name: homepage-config + subPath: proxmox.yaml +```