From 76f4c35f7d52b32048b4b282fce72fc0daea49d3 Mon Sep 17 00:00:00 2001 From: rohow Date: Thu, 28 May 2026 16:29:39 +0800 Subject: [PATCH] feat(infra-gitops): add custom template volume mounts for Gitea HelmRelease --- .../infra-gitops/helmrelease-gitea.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/flux/infrastructure/infra-gitops/helmrelease-gitea.yaml b/flux/infrastructure/infra-gitops/helmrelease-gitea.yaml index 73fe492..106eab1 100644 --- a/flux/infrastructure/infra-gitops/helmrelease-gitea.yaml +++ b/flux/infrastructure/infra-gitops/helmrelease-gitea.yaml @@ -99,3 +99,14 @@ spec: value: "redis://:$(REDIS_PASSWORD)@valkey-cluster-headless.infra-data:6379/0?pool_size=100&idle_timeout=180s" valkey-cluster: enabled: false + extraVolumes: + - name: gitea-custom-templates-volume + configMap: + name: gitea-custom-templates + extraContainerVolumeMounts: + - name: gitea-custom-templates-volume + subPath: home.tmpl + mountPath: /data/gitea/templates/home.tmpl + - name: gitea-custom-templates-volume + subPath: extra_links.tmpl + mountPath: /data/gitea/templates/custom/extra_links.tmpl