From 1d8b0447425811bf4ed7e120613775574ace89ee Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Mon, 3 Jul 2023 12:41:15 +0200 Subject: [PATCH] fix(conf): Add config volume mounting --- manifests/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 8a03e09..0d38675 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -44,7 +44,14 @@ spec: secretKeyRef: name: gitea-lfs-jwt-secret key: token + volumeMounts: + - mountPath: "/data/gitea/conf/app.ini" + name: gitea-config-volume + subPath: app.ini volumes: - name: gitea-pv hostPath: path: "/mnt/gitea" + - name: gitea-config-volume + configMap: + name: gitea-config